Cron Job Every 15 minutes

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
CONFUSIONUK
Forum Newbie
Posts: 17
Joined: Thu Sep 24, 2009 5:15 pm
Location: Winchester, UK

Cron Job Every 15 minutes

Post by CONFUSIONUK »

Right i have had a google about and i have found stuff but it seems to be for people that already know what there doing!

would some one be able to give me a script for a cron job that will trigger
vip/twittercast/twittercast.php
on my server every 15 minutes.

its just a simple update script that write a message into the twitter api to display what is playing on the radio station :wink:

a rough idea on how i install or make the cron job would be much appreciated aswell thank you in advance :mrgreen:
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: Cron Job Every 15 minutes

Post by Jade »

What kind of server is your website on? If you're using a windows server you need to setup a scheduled task. If you're on Linux you need to have admin or sudo permissions.

Windows: http://support.microsoft.com/kb/308569

Linux: http://www.cyberciti.biz/faq/how-do-i-a ... unix-oses/
http://www.d9x.net/linux/guides/crons.php
Post Reply