Cronjobs

He has: 296 posts

Joined: May 2002

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 Smiling

[James Logsdon]

Mark Hensler's picture

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.

He has: 1,016 posts

Joined: May 2002

Edit: No need for my post Smiling

Suzanne's picture

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! Smiling

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 Smiling

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.