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 Quote 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? Quote 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 ? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.