WARNING: Critical maintenance jobs

Ask your questions regarding TimeTrex installation here.
Locked
guerymagic
Posts: 6
Joined: Wed Oct 31, 2012 6:59 pm

WARNING: Critical maintenance jobs

Post by guerymagic »

Hi I have installed a new version of Timetrex and I have this message:

WARNING: Critical maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.

" I have created a Cron scheduler in my server " I have used :

su www-data -c "php /home/plr-store/public_html/timetrex/maint/cron.php" > /dev/null 2>&1

I have replaced www-data with my username of my server but I am still having the warning !

What do I need to do to resolve this issue.

Thank you
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: WARNING: Critical maintenance jobs

Post by shaunw »

What is the exact command that you are running? What user does your web server run as?
guerymagic
Posts: 6
Joined: Wed Oct 31, 2012 6:59 pm

Re: WARNING: Critical maintenance jobs

Post by guerymagic »

Hi

I am using :

su plr-store -c "php /home/plr-store/public_html/timetrex/maint/cron.php" > /dev/null 2>&1

plr-store is the username
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: WARNING: Critical maintenance jobs

Post by shaunw »

If you run the following command, what is the output?
su plr-store -c "php /home/plr-store/public_html/timetrex/maint/cron.php"
guerymagic
Posts: 6
Joined: Wed Oct 31, 2012 6:59 pm

Re: WARNING: Critical maintenance jobs

Post by guerymagic »

Hi, See bellow the output :

Output from command su plr-store -c "php /home/plr-store/public_html/timetrex/maint/cron.php" > /dev/null 2>&1 ..

No output generated
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: WARNING: Critical maintenance jobs

Post by shaunw »

Please use the exact command I specified in my previous post.
guerymagic
Posts: 6
Joined: Wed Oct 31, 2012 6:59 pm

Re: WARNING: Critical maintenance jobs

Post by guerymagic »

Hi,

This is the output :

Output from command su plr-store -c "php /home/plr-store/public_html/timetrex/maint/cron.php" ..

standard in must be a tty
guerymagic
Posts: 6
Joined: Wed Oct 31, 2012 6:59 pm

Re: WARNING: Critical maintenance jobs

Post by guerymagic »

Hi Shaunw,

I have decide to upgrade from v 5.1.0 to v 5.3.8 and in step 2 system check acceptance i have a red warning and i can not proceed.

Warning: File checksums do not match, some TimeTrex files may be corrupted, missing, or not installed properly.

What is happening ? I did not have that when i have installed 5.1.0 ?

Regards,
guerymagic
Posts: 6
Joined: Wed Oct 31, 2012 6:59 pm

Re: WARNING: Critical maintenance jobs

Post by guerymagic »

Hi Shaunw,

Sorry ignore the previous post.

I am in the process of upgrading from v3.6.1 to 5.1.

I have a red warning: File checksums do not match, some TimeTrex files may be corrupted, missing, or not installed properly.

Thank you for your help.
Locked