sub a_sched
{
$var = `cat a.sched`;
print $var;
for(;;){
sleep 1209600;
print $var;
}
}
each *_sched sub is the same except the cat file is different
and the number of seconds to sleep.
what I want to do is execute each subroutine simutaneously,
so all the reminders print at once (cat), and they keep printing depending
on the sleep. maybe my use of sleep is wrong,
any ideas much appreciated.
In reply to Re: Re: Re: Running more than one process (the very basics)
by bsdbudha
in thread Reminder program
by bsdbudha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |