Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: system command is not working

by je44ery (Hermit)
on Dec 07, 2011 at 22:32 UTC ( #942340=note: print w/ replies, xml ) Need Help??


in reply to system command is not working

I agree with pvaldes, it seems like you are not using at correctly. In fact, I'm surprised at is not returning an error immediately. I have tried three Unix flavors and get an error when I do not specify a time.

me@myaixbox:/home/me/sandbox $ at -f 1.pl at: 0481-110 Command usage error; a parameter is missing. me@myaixbox:/home/me/sandbox $ uname AIX
me@mylinuxbox:~/sandbox $ at -f 1.pl Garbled time me@mylinuxbox:~/sandbox $ uname Linux
userid@somebox:/tmp/tmp.66 # at -f 1.pl bad time specification userid@somebox:/tmp/tmp.66 # uname HP-UX


Comment on Re: system command is not working
Select or Download Code
Re^2: system command is not working
by gulla (Initiate) on Dec 07, 2011 at 23:25 UTC
    Hello Friends, Thanks for your replies. In fact , the "at" command which I place in my reply earlier inlucdes the "now" at the end. I am sorry that it got merged with the sentense. The actual command in the script is "at -f a.pl now" Thanks, Gulla

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://942340]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-09-16 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls