I need to check the status of an order 30 minutes after it is placed, and send an email accordingly.
I tried running magento cron but it executes every 30 minutes
In config.xml :
<crontab> <jobs> <send_mail_sms> <schedule> <cron_expr>0 30 * * * *</cron_expr> </schedule> <run> <model>namespace_module/cron::sendMail</model> </run> </send_mail_sms> </jobs> </crontab>
I need to run the Cron only once and run it from the observer of sales_order_place_after where i can provide the orderid.