Cron: Difference between revisions

From XPUB & Lens-Based wiki
Line 10: Line 10:


   5 * * * * /home/mmurtaugh/xpub.sh > /home/mmurtaugh/xpub.log
   5 * * * * /home/mmurtaugh/xpub.sh > /home/mmurtaugh/xpub.log
shit, no thats at 5 past every hour.

Revision as of 13: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

shit, no thats at 5 past every hour.