Creating a file in the filesystem?
4 Mar
2002
4 Mar
'02
6:06 p.m.
I would like to create a semaphore file in the filesystem (/tmp/restart maybe?) and then poll that file from a cron job to see if a certain daemon should be restarted. But, how on earth do one create such an object?
4 Mar
4 Mar
8:46 p.m.
New subject: [Zope] Creating a file in the filesystem?
On Mon, 4 Mar 2002, j2 wrote:
I would like to create a semaphore file in the filesystem (/tmp/restart maybe?) and then poll that file from a cron job to see if a certain daemon should be restarted. But, how on earth do one create such an object?
Write an ExternalMethod that does this in Python. Very straightforward. Can't do it in a PythonScript since they access the filesystem. -- Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Independent Knowledge Management Consultant
8799
Age (days ago)
8799
Last active (days ago)
1 comments
2 participants
participants (2)
-
j2 -
Joel Burton