• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

CRON problem / Nginx

ErwanG

Regular Pleskian
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.
 
Back
Top