cancel
Showing results for 
Search instead for 
Did you mean: 

Problem running cronjobs

Problem running cronjobs

Hi,

 

I just updated my magento from 1.8.1.0 to 1.9.3.3 on my debian server. 

 

Now I do have problems with mails, because of the que they are in.

If I have mail in the que and I run manually the cron.sh in a ssh terminal, everything works they way it is expected.

 

So I tried to put this into a crontab like this:

 

in /etc/crontab

 

*/1 * * * * root /path/to/htdocs/cron.sh

 

when I look to /var/log/syslog

 

it shows me that it run the command, but nothing is happening, the mails will still stay in the que till i manually will start the cron.sh

 

I tried to put in the user crontab -e

 

I tried other versions with /bin/sh before the path ....

 

I also tried the cron.php version with same result, manuell everything is good, but no success true crontab, with or without the

 

$isShellDisabled = true;

 

But I still do not get this working. the cron.sh is executable I always tried to run in as root or www-data, but no success.

 

Is there anybody that have an idea?

 

best regards

 

Daniel

1 REPLY 1

Re: Problem running cronjobs

Maybe you can try a webcron service called easycron.com to trigger the cron.php to run, it very easy to set up and supports multiple configurations.