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

From ZNC
Revision as of 13:57, 17 December 2011 by DarthGandalf (talk | contribs) (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 * * * ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)