PDA

View Full Version : Cron + exec_shut_down();


Learning
05-03-2007, 06:14 AM
Hi,

I have a cron job that sends out some PM's, however, the pmtotal and pmunread are not updated as they are placed inside the shutdown query.
My questions are...


Is it OK to place exec_shut_down(); at the end of my cron php file or will this cause any problems/errors?
Does this require an exit(); call afterwards (a problem in a cron file!).