Crontab Syntax Explained

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
LinuxMoz

Crontab Syntax Explained

Post by LinuxMoz »

Check out the following Crontab Syntax tutorial, I put this guide together to help people new to the Crontab syntax and as a reference to use when creating my crontjobs :)

I hope it helps some people! :)
User avatar
twodogs
Level 4
Level 4
Posts: 320
Joined: Sat Jun 09, 2007 9:18 pm

Re: Crontab Syntax Explained

Post by twodogs »

I use this in my Crontab...

0 * * * * mplayer /home/dave/.sounds/chime.wav >/dev/null 2>&1
*/10 * * * * /home/dave/bin/grabber.sh >/dev/null 2>&1
*/10 * * * * /home/dave/bin/cam_picture.sh >/dev/null 2>&1

grabber.sh takes a screenshot and puts it in my home folder
cam_picture.sh takes a pic with cam and puts it in my home folder
Post Reply

Return to “Tutorials”