WARNING: TimeTrex maintenance jobs have not run in the last

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
fbc
Posts: 3
Joined: Mon Mar 12, 2007 10:50 am

WARNING: TimeTrex maintenance jobs have not run in the last

Post by fbc »

Hi, I installed TimeTrex last week, and just barely started looking around today. When I logged in, a big red error message is at the top:
WARNING: TimeTrex maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.
I've made the correct entries in crontab and I've read this topic but it doesn't really help:
http://forums.timetrex.com/viewtopic.php?t=104

I do this:
[root@mybox ~]# su myuser -c "php /home/myuser/www/classes/modules/core/../../../maint/cron.php"
Jobs Executed: 0 of 9
That's all it says. How do I get it to execute jobs?
fbc
Posts: 3
Joined: Mon Mar 12, 2007 10:50 am

Post by fbc »

Well, it seems to have cleared itself up after I adjusted the crontab entry to the owner of the files, HOWEVER, I still don't understand why it reports "Jobs Executed: 0 of 9".
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Not all cron jobs run everytime cron.php is executed.

Jobs are scheduled to run at specific times, so unless you run cron.php at the exact time a job is scheduled, you will see "0 of 9" jobs. The fact that you are seeing "0 of 9" means things should be working though.
fbc
Posts: 3
Joined: Mon Mar 12, 2007 10:50 am

Post by fbc »

Ok, thank you!
Locked