|
Haven't registered yet? Do it here now!
|
|
|
|
Ardster
Joined: 15 Jun 2007 Posts: 5
|
|
|
|
|
|
|
Posted: Sat Jun 16, 2007 12:11 am Post subject: Cron Job Syntax/Command |
|
|
|
|
|
|
|
|
|
|
Ok so im not a cron job guy
Was hoping it would set up automagically for me but it did not.
The admin window shows the following (my info edited). This is also in the rpcronjob file the same way (minus the Cronjob Syntax Example: part.)
Cronjob Syntax Example:
* * * * * /usr/bin/php -q /home/xxxxxxxxl.com/rpcron.php >> /dev/null
I have seen in the RP section the following cron job command
* * * * * /usr/local/bin/wget -q --spider -t 0 http://www.xxxxxxxxx.com/rpcron.php >> /dev/null
So I have 3 questions
1 - Id prefer to have the script run this so i know its registered correctly within the RP Admin window ( I want to see it there i guess), why is this not happening and what do I need to do? All the install pre-reqs are OK now.
2 - If i cant get it to work on install what is the correct command that I want to get into the cron job
3 - on the manual install, it seems that my host is not a fan of me having an every minute call. Is there a lesser cycle that works and in any case what is the impact of not running every minute?
Thanks |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Jun 16, 2007 1:08 am Post subject: |
|
|
|
|
|
|
|
|
|
|
hi there,
use this as syntax for the cronjob:
* * * * * /usr/bin/php -q /home/xxxxxxxxl.com/rpcron.php >> /dev/null
just make any changes to match the php path and your internal directory.
You can make a change and to the minutes, not to run each minute, and it will work fine, just when scheduling a ping for exact minute, it won't be executed that exact minute, but when the cronjob starts...
So just pass that cronjob syntax example to your host support and they will set it up for you, when the script didn't do it automatically. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
|
|