the issue I am facing is that order emails not working on my magento store. I installed AOE scheduler but I am getting this issue
No heartbeat task found. Check if cron is configured correctly.
Though I have set the settings on cpanel
and AOE scheduler settings on magento
I am getting this email every second
Available actions:
--action listAllCodes
--action lastRun --code <code> [--secondsFromNow] Get the timestamp of the last successful run of a job for a given code
--action scheduleNow --code <code> Schedule a job to be executed as soon as possible
--action runNow --code <code> [--tryLock] [--force] Run a job directly
--action wait [--timout <timeout=60>] Active wait until no schedules are running.
--action flushSchedules --mode (future|all) Flush schedules.
--action listAllRunningSchedules
--action killAll
--action watchdog
--action cron --mode (always|default) [--includeJobs <comma separated list of jobs>] [--excludeJobs <comma separated list of jobs>] [--includeGroups <comma separated list of groups>] [--excludeGroups <comma separated list of groups>]
I am stuck I dont know how to resolve this issue, please help
Best Answer
I suggest changing the settings "Generate Schedules Every" and "Schedule Ahead For" back to their defaults
Also the first line calling cron.php is not needed if you have the other two.
According to a similar sounding issue on the Magento forum here what Vaishal recommended above (changing your PATH to include the path to the php binary sounds like a good approach).
I suggest trying out these commands from a command prompt fist via SSH if you can to make sure it works first. And then enter it into the cron configuration.
Overall it sounds like what you are using is correct however due to some restrictions placed upon you by your hosting company this is not working. So would suggest getting in touch with your hosting company's technical support to understand where the command line parameters are not passed along correctly.