# file an `at` job of running contents of 'file' at 12:05 open AT, "at -f test 1205 2>&1 |" || die "can't `at`"; while(<AT>) { ($job_id,$job_date,$job_time) = (/^job (\d+) at (\S+) (\S+)/); + } # last one seen wins print "at job ID: $job_id\n";
In reply to Re: Re: Re: At process job id
by japh
in thread At process job id
by smartybob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |