joshua
04-29-2008, 04:23 PM
I am using the pro verison.
Below is my startercron script:
__________________________________________________ _____________
#Put here absolute to your broadcaster directory
$yourdir='/home/content/j/o/s/joshuadkill/html/Robinson/CGI-BIN/fmlp';
#You can run this script from cron like
#*/15 * * * * perl /home/user/http://www.owenrobinsonfamily.com/Robinson/CGI-BIN/fmlp/startercron
#in this case script will starts each 15 minutes
chdir($yourdir) || die "Can not change dir to $yourdir : $!";
exec('/usr/bin/perl broadcaster');
__________________________________________________ _________________________
What needs to be changed above?
Next, in my cron manager, of my web host control panel, I have a cron job that runs twice an hour and the command is:
__________________________________________________ __
#!/usr/bin/perl "$HOME/html/Robinson/CGI-BIN/fmlp/cron/startercron"
__________________________________________________ ________
Is this correct?
If this is all correct why do I get an error box saying there was an error in my request.
Plus, the broadcast does not work.( I understand that the broadcast only put the message in que, but the messages should go out once cron runs or activate through the home page, correct.
Joshua
Below is my startercron script:
__________________________________________________ _____________
#Put here absolute to your broadcaster directory
$yourdir='/home/content/j/o/s/joshuadkill/html/Robinson/CGI-BIN/fmlp';
#You can run this script from cron like
#*/15 * * * * perl /home/user/http://www.owenrobinsonfamily.com/Robinson/CGI-BIN/fmlp/startercron
#in this case script will starts each 15 minutes
chdir($yourdir) || die "Can not change dir to $yourdir : $!";
exec('/usr/bin/perl broadcaster');
__________________________________________________ _________________________
What needs to be changed above?
Next, in my cron manager, of my web host control panel, I have a cron job that runs twice an hour and the command is:
__________________________________________________ __
#!/usr/bin/perl "$HOME/html/Robinson/CGI-BIN/fmlp/cron/startercron"
__________________________________________________ ________
Is this correct?
If this is all correct why do I get an error box saying there was an error in my request.
Plus, the broadcast does not work.( I understand that the broadcast only put the message in que, but the messages should go out once cron runs or activate through the home page, correct.
Joshua