php-general | 2001122
Date: 12/28/01
- Next message: Julio Nobrega Trabalhando: "Re: [PHP] Only one instance of a script at a time !"
- Previous message: Nicolas Guilhot: "[PHP] Only one instance of a script at a time !"
- Maybe in reply to: Nicolas Guilhot: "[PHP] Only one instance of a script at a time !"
- Next in thread: Julio Nobrega Trabalhando: "Re: [PHP] Only one instance of a script at a time !"
- Reply: Julio Nobrega Trabalhando: "Re: [PHP] Only one instance of a script at a time !"
- Reply: akul <email protected>: "Re[2]: [PHP] Only one instance of a script at a time !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Pseudo code:
check if pid file exists
yes -> DIE
no -> write pid file
At end of script
delete pid file
Jerry Verhoef
-----Original Message-----
From: Nicolas Guilhot [mailto:nguilhot <email protected>]
Sent: Friday, December 28, 2001 3:32 PM
To: Php General MailingList
Subject: [PHP] Only one instance of a script at a time !
Running a php script with a cron job, how can I do to have only one instance
of the script running ?
Thanks for any answer.
Nicolas
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>The information contained in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, production, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately.
The content of the email is not legally binding unless confirmed by letter bearing two authorized signatures.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Julio Nobrega Trabalhando: "Re: [PHP] Only one instance of a script at a time !"
- Previous message: Nicolas Guilhot: "[PHP] Only one instance of a script at a time !"
- Maybe in reply to: Nicolas Guilhot: "[PHP] Only one instance of a script at a time !"
- Next in thread: Julio Nobrega Trabalhando: "Re: [PHP] Only one instance of a script at a time !"
- Reply: Julio Nobrega Trabalhando: "Re: [PHP] Only one instance of a script at a time !"
- Reply: akul <email protected>: "Re[2]: [PHP] Only one instance of a script at a time !"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

