zachjallen39
New Member
- Messages
- 6
- Reaction score
- 0
- Points
- 1
Hi all,
I'm trying to set up cron jobs to first download a remote file, second to update a db, and third to perform some final calculations.
Here is my cron job to download a remote file:
wget -O - /home/csk/ultrastats/src/admin/parser.php?op=getnewlogfile&id=1
job to update db:
php -cron -q /home/csk/ultrastats/src/admin/parser.php?op=updatestats&id=1
job to perform final calcuations:
/usr/bin/php /home/csk/ultrastats/src/admin/parser.php?op=runtotals
As you have noticed I used a different method per job, the only reason for this was error testing to see which would work. None have worked, my page does not say the database was updated and i do not receive an email at all.
Thank you,
zach
I'm trying to set up cron jobs to first download a remote file, second to update a db, and third to perform some final calculations.
Here is my cron job to download a remote file:
wget -O - /home/csk/ultrastats/src/admin/parser.php?op=getnewlogfile&id=1
job to update db:
php -cron -q /home/csk/ultrastats/src/admin/parser.php?op=updatestats&id=1
job to perform final calcuations:
/usr/bin/php /home/csk/ultrastats/src/admin/parser.php?op=runtotals
As you have noticed I used a different method per job, the only reason for this was error testing to see which would work. None have worked, my page does not say the database was updated and i do not receive an email at all.
Thank you,
zach