ITPUbiquitous Mobile Computing

Cron Jobs

By Monday, February 14, 2005 No Comments

Q: How do i set up a cron job?
A: Do this:

1. Log into stage / dreamhost / etc.
2. Type “crontab -e” to see the crons you have running
3. Enter the follow, to get a script that runs every second:

EVERY MINUTE (that’s as low as you can go… for now)
*/1 * * * * /home/ms1065/public_html/cgi-bin/pop_me.pl

EVERY HOUR
* */1 * * * /home/ms1065/public_html/cgi-bin/pop_me.pl

EVERY TUESDAY @ 12p
* */12 * * 2 /home/ms1065/public_html/cgi-bin/pop_me.pl

Leave a Reply