#1
|
||||
|
||||
Cron Job help
I'm trying to set up cron jobs to decrease a stat several times a day on each adoptable, but I'm running into some trouble and I'm not sure if it's the cron job itself or the PHP. Note that I'm specifically interested in Cron Jobs, not scheduled tasks.
cron.php PHP Code:
|
#2
|
||||
|
||||
I wanted to rip my hair out so bad trying to figure this out a long time ago, but I found the answer a few minutes ago!
There is actually nothing wrong with your cron.php. When you create the cronjob in cPanel, the command has to be: Quote:
EDIT: Also apparently using math right there with UPDATE will not work. See here for a fix
__________________
Last edited by Dinocanid; 05-28-2017 at 09:21 PM. |
#3
|
||||
|
||||
That did it, thanks for the help!
|
|
|
What's New? |
What's Hot? |
What's Popular? |