I am facing a problem with custom email. Email does not sent automatically according to its schedule.
Cron is working fine. I have debug code using Mage::log()
. I am getting each log before sendTransactional function after that log is not working.
However its working fine with Aoe_schedule when I execute cron forcefully.
But Its not working automatically..
So the code is correct. Problem is with automatic cron execution.
You can create a crontab file
in server cmd
in open window
*/5 * * * * full path to your site
cron.sh
file(example:/home/username/www/public_html/cron.sh
)this is will execute your
cron.sh
every 5 minutes and Aoe_Sheduler dosen't write a warning about heartbeat