About Magento 1.9
I want to run Magento's cron.php every minute because, I want sales email to be sent the soonest possible on client order. So besides the email function can someone let me know what the default cron.php does in the sense how wise it is to run it every minute, and if we do run it every minute what to be aware of before 1 minute becomes a problem for these jobs.
Best Answer
Completely safe - and in most cases mandatory, otherwise jobs can end up being skipped.
Just make sure you are executing
cron.sh
notcron.php
Just note that the regularity of the cron itself won't dictate when cron operations take place - the module itself does that.
Eg. Using the awesome MageRun to list tasks,
You can see that amongst the tasks, the most regular in this list is every 5 minutes. Which means that even if the cron were to be configured to run every minute, it wouldn't make a difference, as
newsletter_send_all
andxmlconnect_notification_send_all
would only run every 5 minutes.If CLI isn't your bag, then you can use (the equally awesome) Aoe Scheduler to visualise the timeline.
This will let you see when tasks are due to run, and if they are being executed or skipped.