Hi. I would suggest making a new script, something like "run_crons.cgi", and put something like this in it;
use strict;
my @commands;
$commands[0] = "perl /full/path/to/script.cgi --options";
$commands[1] = "perl /full/path/to/script.cgi --options";
$commands[2] = "perl /full/path/to/script.cgi --options";
foreach (@commands) {
print "Running: $_ \n";
system($_);
}
print "\n\nDone!!!";
.. and then just setup one cronjob, to run the above script. Basically, this will let you run the scripts, one after another.
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
#!/usr/bin/perl use strict;
my @commands;
$commands[0] = "perl /full/path/to/script.cgi --options";
$commands[1] = "perl /full/path/to/script.cgi --options";
$commands[2] = "perl /full/path/to/script.cgi --options";
foreach (@commands) {
print "Running: $_ \n";
system($_);
}
print "\n\nDone!!!";
.. and then just setup one cronjob, to run the above script. Basically, this will let you run the scripts, one after another.
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!