![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
| "BM" == Barry Margolin <bar...@alum.mit.edu>: BM> Run the script every week, but have it keep a counter in a file. Every BM> time the counter reaches 3 it executes the command, then sets it back to 0 Run the script every week, but have it check the script's timestamp. Use find(1) to check whether the script file itself is more than 20 days old. If it is, then do whatever you have to do and touch(1) the script file. |
| |||
| Anonymous Sender wrote: > "BM" == Barry Margolin <bar...@alum.mit.edu>: > BM> Run the script every week, but have it keep a counter in a file. Every > BM> time the counter reaches 3 it executes the command, then sets it back to 0 > > Run the script every week, but have it check the script's timestamp. > Use find(1) to check whether the script file itself is more than 20 days old. > If it is, then do whatever you have to do and touch(1) the script file. > Run te scrip every week and do a simple sum to see whether todays 'week of the year'is divisible exactly by three. If not, exit. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |