WARNING: Critical maintenance jobs!

Topics brought up by the TimeTrex open source community.
Post Reply
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

WARNING: Critical maintenance jobs!

Post by wiki »

Hi I'm a linux & timetrex newbie !

Few days after my installation, this is appearing in the system :
WARNING: Critical maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.

Here's my output from terminal:

Code: Select all

[root@webserver ~]# service crond status
crond (pid  1981) is running...

[root@webserver ~]# crontab -l
* * * * * php /var/www/html/timetrex/maint/cron.php > /dev/null 2>&1

[root@webserver ~]# su www-data -c "php /var/www/html/timetrex_prod/maint/cron.php"
su: user www-data does not exist
The possible problem here is the permission of www-data user but how can I do this?

Please help !

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

Re: WARNING: Critical maintenance jobs!

Post by shaunw »

You need to replace "www-data" with the user that your web server is running as.
wiki
Posts: 25
Joined: Wed Apr 29, 2015 8:29 pm

Re: WARNING: Critical maintenance jobs!

Post by wiki »

shaunw wrote:You need to replace "www-data" with the user that your web server is running as.
Thanks shaunw!
Post Reply