I tried to set up a cron job to run the php:
15 /usr/bin/php -q http://testing.com/generateImage.php
The task of this is to generate a batch of images every 15mins. The image generation process is quite long (could last for few mins) but the cron job seems only run the first few lines and then quit.
I have already add :
ignore_user_abort(1); // run script in background
set_time_limit(0); // run script forever
.....
at the script to make it run as long as it needs.
But still doesn't work 🙁
Does anyone know how to make it work?