in reply to Help with Perl

I still do net get it. If the file contains the line
a.pl 30 b.pl 35
does it mean that in 30 secs, the script a.pl should be run? And after the 30 secs, another run of a.pl should be scheduled based on the file (which might have changed in the meantime, hence "dynamic")? But you do not want to start a new b.pl that is scheduled to happen in 5 seconds - but what if there is a new line in the file saying
c.pl 15
Please, be much more specific.

Replies are listed 'Best First'.
Re^2: Help with Perl
by ashok.g (Beadle) on Jan 24, 2012 at 13:49 UTC
    What I want is, for example the script invoker.pl will read the file conf.txt:
    a.pl 30 b.pl 20
    Split each line and validate *.pl and a digit and run a.pl at every 30 minutes and b.pl for every 20 minutes. If invoker.pl dies then when again I will run the script, the contents of conf.txt may get changed. Hope this will make more understanding.

    The challenge here is to run each script for the specified interval continuously. Can we do that?

    Thanks in advance.

    Thanks,
    Ashok