Note To Self: Cron Job Syntax
February 9th, 2007 Ryan Jones
How many of you write notes to yourself about things you constantly forget?
I’ve found one of the best methods of remembering stuff is to just blog about it. That way, I can just search my blog for the answer. It’s like having a 100% portable notebook. It’s also a good way to help other people who may have the same questions you do.
Like today for example, I needed to run a PHP script as a cron job, but I couldn’t remember the crontab syntax.
Here’s the command I enter to run my php script:
php -q /home/sitename/public_html/cronscript.php
Next time I forget that I need to use the -q option, I’ll know where to look!
Entry Filed under: Main
1 Comment
1. Thomas Shine | February 10th, 2007 at 3:12 am
Checkout @ http://www.enginepuller.com/engines/049/CronJob.aspx