Friday, December 11, 2009

Crob Job Example

1. crobtab -e
2. Add following line
* * * * * you command | logger "wget ran"
3. Save and exit. (You should see a message say "crontab: installing new crontab")

What does this command do?
It will run your command every min, and write a message to the system log. The system log usually locate at /var/log/messsages

More reference:

Thursday, December 10, 2009

Wordpress: Query Analysis