Cronjobs
Hey everyone!
I wrote a script for a forum I go to that checks the status of FTPs that are set up. The script works 100% fine, but is there a way to set up a cronjob to go off every 30 minutes to check? Daily is just to long, it needs to be a check every 30 minutes to one hour, since it's a very active place. Would I need to talk to my host setting up a cronjob?
Sincerely,
confuseded.
EDIT: Sorry about posting in the wrong forum
[James Logsdon]
Mark Hensler posted this at 20:03 — 24th January 2003.
He has: 4,048 posts
Joined: Aug 2000
Most host have a cronjob editor in the control panel. If your's doesn't then just pull up a command line:
$ crontab -e
0,30 * * * * nice /path/to/your/script
Mark Hensler
If there is no answer on Google, then there is no question.
zollet posted this at 20:05 — 24th January 2003.
He has: 1,016 posts
Joined: May 2002
Edit: No need for my post
Suzanne posted this at 21:15 — 24th January 2003.
She has: 5,507 posts
Joined: Feb 2000
No apologies needed, it's nice to be able to move a post without it being spam for once!
necrotic posted this at 21:35 — 25th January 2003.
He has: 296 posts
Joined: May 2002
Thanks, but the help wasn't needed, and I forgot my post was here. I got my host to put a cronjob up, and it works fine. Thanks anyway
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.