Cron: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
http://www.adminschoice.com/crontab-quick-reference | http://www.adminschoice.com/crontab-quick-reference | ||
== Setting up a script to run every five minutes == | == Setting up a script to run a script in your home folder every five minutes (and log it) == | ||
crontab -e | crontab -e | ||
and edit it to something like | and edit it to something like | ||
*/5 * * * * /home/mmurtaugh/xpub.sh > /home/mmurtaugh/xpub.log |
Latest revision as of 16:07, 16 March 2017
The Linux way to schedule commands.
http://www.adminschoice.com/crontab-quick-reference
Setting up a script to run a script in your home folder every five minutes (and log it)
crontab -e
and edit it to something like
*/5 * * * * /home/mmurtaugh/xpub.sh > /home/mmurtaugh/xpub.log