Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

  • Ben July 2017
PHP max_execution_time
  • Vote Up0Vote Down falconfalcon
    Posts: 5Sendy user

    I have read that the sending cron should be set to 5mins, however I have not read anything about the max_execution_time in PHP.

    By default, the max_execution_time is 30s in PHP installations. If we set the cron to every 5 mins, the server will timeout after 30s and not sending anything for another 4.5mins.

    So, am I correct to say the max_execution_time in PHP settings should be set to 0, and the scheduled.php cron set to every 5mins?

  • 1 Comment
  • Vote Up0Vote Down BenBen
    Posts: 3,823Sendy support


    When you setup a cron job to run the scheduled.php script, the script is run via command line by the cron job. As per PHP’s documentation, if a script is executed via command line, the max_execution_time defaults to 0 (unlimited):



    Best regards,

This discussion has been closed.
All Discussions