To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Talk:FAQ: Difference between revisions

From ZNC
Jump to navigation Jump to search
Created page with "If you want to run a command every ten minutes it's possible to write <pre> */10 * * * * /home/you/znc/bin/znc >/dev/null 2>&1 </pre> instead of <pre> 0,10,20,30,40,50 * * * ..."
 
m added init file notes
 
Line 10: Line 10:


:I don't know either, but why should one care? The longer version works too, but the case that some crond doesnt support the short one would be bad. [[User:Psychon|Psychon]] 18:26, 19 September 2007 (CEST)
:I don't know either, but why should one care? The longer version works too, but the case that some crond doesnt support the short one would be bad. [[User:Psychon|Psychon]] 18:26, 19 September 2007 (CEST)
ZNC packages for various distributions and if init files for services/system daemon purposes are included:
slackware 14.1, latest SBo - yes
ubuntu - 14.04.5, 16.04.3, 17.04, 17.10 - no
debian 9 - no
fedora 27 - yes
coreos - yes
centos 7 - yes
openbsd 6 - no
freebsd 11 - yes

Latest revision as of 11:49, 8 December 2017

If you want to run a command every ten minutes it's possible to write

*/10 * * * * /home/you/znc/bin/znc >/dev/null 2>&1

instead of

0,10,20,30,40,50 * * * * /home/you/znc/bin/znc >/dev/null 2>&1

But I'm not sure if every crond does that. Check your local manpage when in doubt.

I don't know either, but why should one care? The longer version works too, but the case that some crond doesnt support the short one would be bad. Psychon 18:26, 19 September 2007 (CEST)

ZNC packages for various distributions and if init files for services/system daemon purposes are included:

slackware 14.1, latest SBo - yes
ubuntu - 14.04.5, 16.04.3, 17.04, 17.10 - no
debian 9 - no
fedora 27 - yes
coreos - yes
centos 7 - yes
openbsd 6 - no
freebsd 11 - yes