We help IT Professionals succeed at work.

crontab script decipher

gerrymac1943
gerrymac1943 asked
on
Hi

can anyone decipher what this cron script does which I found within fcrontab on a ubuntu pc:

@ 1 name_of_shell_script.sh

cheers
GMac
Comment
Watch Question

CERTIFIED EXPERT
Commented:
I think that would execute name_of_shell_script.sh for every 1 minute
CERTIFIED EXPERT
Commented:
Yes, that's correct.  See fcrontab.5 man page for details.

This is a much more "human" cron - it allows you to run scripts "in the middle of the day", to specify ranges of times within which to run scripts, to get sent mail on specific commands, or to specify ranges with days omitted (e.g. days *~3 is every day except Wednesday), or only if the system is quiet.

Author

Commented:
genius!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.