This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Cron Manager doesn't appear to be working in Sentora v1.0.0
#2
RE: Cron Manager doesn't appear to be working in Sentora v1.0.0
I forgot to mention...so I have confirmed that cron.php runs and completes successfully if I just copy and paste the php code that is auto created by Sentora...i.e.

php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php

So that works if I manually paste it into the terminal. So why wouldn't this run succesfully through Sentora and the Cron manager.

Looking at syslog log (tail /var/log/syslog) file I can see this (I just changed a few things to conceal the site's identity):

Apr 12 18:02:01 panel CRON[14857]: (www-data) CMD (php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/sitename_com/cron.php)
Apr 12 18:02:01 panel postfix/pickup[14406]: B3A53142D2C: uid=33 from=<www-data>
Apr 12 18:02:01 panel postfix/cleanup[14500]: B3A53142D2C: message-id=<20150412090201.B3A53142D2C@panel.sitename.com>
Apr 12 18:02:01 panel postfix/qmgr[1062]: B3A53142D2C: from=<www-data@sitename.com>, size=1793, nrcpt=1 (queue active)
Apr 12 18:02:01 panel postfix/qmgr[1062]: warning: connect to transport private/retry: Connection refused
Apr 12 18:02:01 panel postfix/qmgr[1062]: B3A53142D2C: to=<www-data@panel.sitename.com>, orig_to=<www-data>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)


So as you can see the syslog file, it's definitely running that php line which should run the cron.php file. However, it's not being run as there is no record of cron being run on the Drupal site and it shows that the cron job has not been run.

Any ideas why it's not working automatically with the cron job?
Reply
Thanks given by:


Messages In This Thread
RE: Cron Manager doesn't appear to be working in Sentora v1.0.0 - by americanninja - 04-12-2015, 07:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,105 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,205 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,655 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)