Best way to poll for existence of a file?
Bob Rasmussen
ras at anzio.com
Mon Mar 30 07:28:15 PDT 2009
On Mon, 30 Mar 2009, Walter Vaughan wrote:
> Boaz Bezborodko wrote:
>
> > The thing is that even though the file-server is running on Linux I am
> > running FP as a Windows operation so CRON won't work as I can't
> > execute the task as a Linux process. I guess my only choice is to
> > have a FilePro task running in the background constantly checking for
> > a file.
>
> You have Windows Scheduled Tasks, which work most quite excellent...
> http://support.microsoft.com/kb/308569
(Coming late to this discussion)
It is possible in Windows to write a program that uses file notification.
That is, the program tells Windows to notify it if a file of a certain
wildcard appears, disappears, etc. This avoids any kind of a background
process. You'd then need a notification mechanism from the Windows program
to the filePro program.
I don't know if this is practical for you, but I wanted to cover all the
bases.
Regards,
....Bob Rasmussen, President, Rasmussen Software, Inc.
personal e-mail: ras at anzio.com
company e-mail: rsi at anzio.com
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
street address: Rasmussen Software, Inc.
10240 SW Nimbus, Suite L9
Portland, OR 97223 USA
More information about the Filepro-list
mailing list