Cron Jobs arent running
Posted: Mon Nov 13, 2017 9:21 am
Rebooted the server and after that Cron jobs are running
seems to be a mistmatch with what is configured in cron vs the actual file names
* * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/cmdsubsys.php > /usr/local/nagiosfusion/var/cmdsubsys.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/eventman.php > /usr/local/nagiosfusion/var/eventman.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat.php > /usr/local/nagiosfusion/var/sysstat.log 2>&1
*/5 * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/dbmaint.php > /usr/local/nagiosfusion/var/dbmaint.log 2>&1
*/5 * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/poller.php > /usr/local/nagiosfusion/var/poller.log 2>&1
# ls -l
total 168
-rwxr-xr-x. 1 nagios nagios 32955 Oct 6 09:49 auth_subsys.php
-rwxr-xr-x. 1 nagios nagios 19108 Oct 6 09:49 cmd_subsys.php
-rwxr-xr-x. 1 nagios nagios 5442 Oct 6 09:49 dbmaint_subsys.php
-rwxr-xr-x. 1 nagios nagios 2946 Oct 6 09:49 log_subsys.php
-rwxr-xr-x. 1 nagios nagios 97979 Oct 6 09:49 poll_subsys.php
-rwxr-xr-x. 1 nagios nagios 3073 Oct 6 09:49 sysstat_subsys.php
seems to be a mistmatch with what is configured in cron vs the actual file names
* * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/cmdsubsys.php > /usr/local/nagiosfusion/var/cmdsubsys.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/eventman.php > /usr/local/nagiosfusion/var/eventman.log 2>&1
* * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat.php > /usr/local/nagiosfusion/var/sysstat.log 2>&1
*/5 * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/dbmaint.php > /usr/local/nagiosfusion/var/dbmaint.log 2>&1
*/5 * * * * /usr/bin/php -q /usr/local/nagiosfusion/cron/poller.php > /usr/local/nagiosfusion/var/poller.log 2>&1
# ls -l
total 168
-rwxr-xr-x. 1 nagios nagios 32955 Oct 6 09:49 auth_subsys.php
-rwxr-xr-x. 1 nagios nagios 19108 Oct 6 09:49 cmd_subsys.php
-rwxr-xr-x. 1 nagios nagios 5442 Oct 6 09:49 dbmaint_subsys.php
-rwxr-xr-x. 1 nagios nagios 2946 Oct 6 09:49 log_subsys.php
-rwxr-xr-x. 1 nagios nagios 97979 Oct 6 09:49 poll_subsys.php
-rwxr-xr-x. 1 nagios nagios 3073 Oct 6 09:49 sysstat_subsys.php