[wpkg-users] How to execute something weekly or monthly?

Stefan Pendl stefan.pendl.71 at gmail.com
Fri Jan 20 19:49:39 CET 2012


Am 20.01.2012 10:55, schrieb Marco Gaiarin:
>> i don't know how to do that without placing a file on the computer so
>> i can chech the file last modified date to calculate the next
>> execution. But if it is done by wpkg, there could be a last-executed
>> tag and that's it.
>
> Anyway, the ''semaphore file'' i think it is the better way to handle
> this, with the 'datemodifyolderthan' file check.
>

I see some problems with this approach:

1) you need to create a file with a future time stamp
2) you need to change the check after each run

Why not use a scheduled task for this?


--
Stefan P.

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the wpkg-users mailing list