in reply to Re: Re: Re: At process job id
in thread At process job id

hey, i had tried the above command in my perl script. however, it doesn't give me the value i want. instead, it return an empty values for all the 3 fields. WHY ?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: At process job id
by japh (Friar) on Dec 29, 2001 at 05:53 UTC
    Then your regexp is probably wrong. If you do this:
    echo "ls" | at -f test 1205 >at.stdout 2>at.stderr
    (where 'test' is your example input file) then paste the contents of at.stdout and at.sterr here, we can figure out the applicable regexp for your system.
      Hi, When i run the above stated above, it display the below message >>> "Ambiguous output redirect." And i check the at queue by the atq command. and there is now queue of the at command, which the command above is not executed at all. Reply PLS !
        doh. paste the screen output of a command line `at` session.