jmurch Posted July 24, 2012 Share Posted July 24, 2012 As the title says, my script won't continue after the exec when running from a cron (running cron job as root). Tried a bang, 744 etc. no luck. Works fine from cli. Anyone have any suggestions? TIA, Jeff Link to comment https://forums.phpfreaks.com/topic/266185-php-cron-wont-continue-after-exec/ Share on other sites More sharing options...
requinix Posted July 24, 2012 Share Posted July 24, 2012 What exec? Link to comment https://forums.phpfreaks.com/topic/266185-php-cron-wont-continue-after-exec/#findComment-1364082 Share on other sites More sharing options...
jazzman1 Posted July 24, 2012 Share Posted July 24, 2012 Where actually you start a cron job, on a local machine or remote server ? Link to comment https://forums.phpfreaks.com/topic/266185-php-cron-wont-continue-after-exec/#findComment-1364120 Share on other sites More sharing options...
cpd Posted July 25, 2012 Share Posted July 25, 2012 Not really sure what you mean by exec. When you create a cron and put "php [options] [file]" the server executes the page as normal; obviously with PHP installed but you already said it works from the CLI. Link to comment https://forums.phpfreaks.com/topic/266185-php-cron-wont-continue-after-exec/#findComment-1364174 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.