[lug] Crontab

Chip Atkinson catkinson at circadence.com
Fri Jun 22 10:08:55 MDT 2001


You could write a bash script that runs the application four times and 
sleeps 15 seconds between each invocation.  Then set this script to run 
once per minute.

For example:

#!/bin/bash
application
sleep 15
application
sleep 15
application
sleep 15
application

Chip

Carlos Hernández López wrote:

> Hello,
> 
> For some aplication,  I need to execute several bash scripts
> periodically during a specific lapse of time. Crontab would be perfect,
> however the minimum period of time that you can specify is 1 minute,
> and  I need to execute the scripts maybe every 15 seconds.
> 
> Obviously  I can manage in order that the scripts "knows" when to
> execute but I don't want to reinvent the wheel and something  similar to
> contab would be nicer.
> 
> Some hints?
> 
> Thanks a lot.
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list