| View previous topic :: View next topic |
| Author |
Message |
3DKiwi
Joined: 28 Nov 2008 Posts: 13
|
Posted: Wed Oct 07, 2009 1:12 am Post subject: Can cPanel Cron jobs be set up to run daily job? |
|
|
I've been using the automatic daily job on my website but I'm sure it probably overloading my server as I get between 150,000 and 250,000 ad views per day for 8 banner ads.
So is it possible to set up the daily job via Cron job in cPanel? Here's what I have.
Thanks
Nigel |
|
| Back to top |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5693
|
Posted: Wed Oct 07, 2009 2:06 am Post subject: |
|
|
| The command is correct, only in the hour field should be the value 0, not 1. I however can't say if the GET command works on your server, you need to test it. I can assist if needed. |
|
| Back to top |
|
 |
3DKiwi
Joined: 28 Nov 2008 Posts: 13
|
Posted: Wed Oct 07, 2009 4:03 am Post subject: |
|
|
Thanks. I'll give it a try and see what happens. If you don't here from me again you it worked.
Regards
Nigel |
|
| Back to top |
|
 |
3DKiwi
Joined: 28 Nov 2008 Posts: 13
|
Posted: Thu Oct 08, 2009 4:10 am Post subject: |
|
|
Update: I set the daily job up using the Lynx statement after doing a "whereis Lynx" command to get the path.
The daily job appears to have run according to the reset / rebuild page so I'm good to go.
Thanks for your support and a great script.
Nigel |
|
| Back to top |
|
 |
PHPWebScripts Richard - Admin
Joined: 13 Jan 2003 Posts: 5693
|
Posted: Thu Oct 08, 2009 4:42 am Post subject: |
|
|
| Thank you, Nigel. |
|
| Back to top |
|
 |
|