I had posted a query a day back about cron job/scheduled task setting. After trying a few things here and there I have done something that initiated the scheduled task through plesk (on windows server), however it used to stop in a few seconds/minutes. (attached screen grab of the settings).
After trying to tweak the setting, I guess I messed up and now the task shows as successful (in green with server response as 200) but it does not send any messages but shows some codes. (attached screenshot)
@duncanc You were bang on finding the error. It was a space in the url and hence &. I removed the same and it worked. However the issue still is that it stops and I have to run again… Am I missing something in config??
@glamsham When you use this approach, phplist will run for a maximum of one minute. That is an attempt to avoid a web server timeout due to a long running request.
So you should set the batch size, etc to be commensurate with that, and ensure that the scheduled task is configured to run periodically, say every few minutes.