Posts Tagged ‘cron’

do you know crontab?

2008-04-16 21:14:42 CEST | 3 Comments | Tags: , , ,

simple brainteaser. take no more than 30 seconds to think about it:

using standard cron installed on your unix system, how often would this command be run:

*/57 * * * * command

? if you choose to answer in comments, please supply version of cron that your system is using.

unix crontab and longest interval

2008-03-21 14:47:56 CET | 10 Comments | Tags: , ,

simple brain teaser:

given standard unix crontab what is the longest possible interval between calls to the same program?

for example:

15 */2 * * * /bin/echo x

has interval 2 hours.

what is the longest possible? and how to make it?