Maintenance jobs problem

Topics brought up by the TimeTrex open source community.
Locked
vlawrence0324
Posts: 14
Joined: Tue Jun 19, 2012 10:33 am

Maintenance jobs problem

Post by vlawrence0324 »

My web host has a cron job manager feature.

I have added this line

* * * * * su apache -c "php /home/content/79/9384879/html/time/maint/cron.php"

However, the red maintenance error still shows up after 2 days.

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

I also get this email from Cron mailer everytime.

/bin/sh: su: command not found

Here's a screenshot: Image

Please help
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Maintenance jobs problem

Post by shaunw »

It would appear that you are using a shared hosting provider, if thats the case TimeTrex does not support such environments.
vlawrence0324
Posts: 14
Joined: Tue Jun 19, 2012 10:33 am

Re: Maintenance jobs problem

Post by vlawrence0324 »

I was able to make it work. The problem is with the path of the php-cli library in my timetrex.ini file was incorrect.
Thanks..
Locked