Digital Spy

Search Digital Spy
 

DS Forums

 
 
 

cron job help


Reply
Thread Tools Search this Thread
Old 20-04-2013, 18:50
djclewes1
Forum Member
 
Join Date: Mar 2011
Posts: 128

hi

i installed cast control lite ok but i got this message

You now need to configure the following CRON jobs which are essential to running cast-control

* * * * * php -q /var/www/html/scanner/cron.php queue=1 >/dev/null 2>&1

*/5 * * * * php -q /var/www/html/scanner/cron.php bitrate=1 logfiles=1 playedsongs=1 messenger=1 >/dev/null 2>&1

0 0 * * * php -q /var/www/html/scanner/cron.php playedsongs=1 mailplayedsongs=1 >/dev/null 2>&1


how do i run them without a control panel. i only have putty and ssh commands. what do i have to type to get the cron job working on my vps linux centos 5 server.
djclewes1 is offline   Reply With Quote
Please sign in or register to remove this advertisement.
Old 20-04-2013, 19:03
Maxatoria
Forum Member
 
Join Date: Apr 2011
Posts: 4,990
time to lookup the vi command and how to edit files - it takes a bit of time to get used to it

and you might need to team it with sudo depending on the files permissions
Maxatoria is online now   Reply With Quote
Old 20-04-2013, 20:45
bob187
Forum Member
 
Join Date: Dec 2007
Posts: 1,056
Typing crontab -e from the shell will open up the crontab editor, although as Maxatoria has said above you may need to sudo this, and look up how to use vi (the text editor that you use to edit the cron file).

It's a lot simpler than it sounds, although if you aren't sure what vi or sudo are you should probably research a bit into it first.
bob187 is offline   Reply With Quote
Old 20-04-2013, 21:32
Thine Wonk
Forum Member
 
Join Date: Mar 2009
Posts: 9,971
:wq!
Thine Wonk is offline   Reply With Quote
 
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT +1. The time now is 15:01.