Hello,
I've problem with a cron task with Plesk 12.
It's a php file which is loaded every 5 minutes : "php /var/www/vhosts/domain/httpdocs/cron.php".
It's a data processing. When the first processing data is completed, the second is loaded... etc....
Sometimes, the task is not finished before the 5 minutes so i use a "status" field (0 to 1 at the beginning) with the data in MySQL for that the next task begin with the next data.
The problem is that, sometimes, not always, the next task begin with the same data.
Task 1
> Data 1 (in progress)
> Data 2 (not beginning)
..
Task 2 must begin with Data 2 but begin with Data 1 even if only "Datas" (not beginning) are called. The code is correct.
My question is :
Is that Nginx can have an influence on what kind of treatment ?
Thank you.
I've problem with a cron task with Plesk 12.
It's a php file which is loaded every 5 minutes : "php /var/www/vhosts/domain/httpdocs/cron.php".
It's a data processing. When the first processing data is completed, the second is loaded... etc....
Sometimes, the task is not finished before the 5 minutes so i use a "status" field (0 to 1 at the beginning) with the data in MySQL for that the next task begin with the next data.
The problem is that, sometimes, not always, the next task begin with the same data.
Task 1
> Data 1 (in progress)
> Data 2 (not beginning)
..
Task 2 must begin with Data 2 but begin with Data 1 even if only "Datas" (not beginning) are called. The code is correct.
My question is :
Is that Nginx can have an influence on what kind of treatment ?
Thank you.