Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: system command is not working

by jffry (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 at: 0481-110 Command usage error; a parameter is missing. me@myaixbox:/home/me/sandbox $ uname AIX
me@mylinuxbox:~/sandbox $ at -f Garbled time me@mylinuxbox:~/sandbox $ uname Linux
userid@somebox:/tmp/tmp.66 # at -f bad time specification userid@somebox:/tmp/tmp.66 # uname HP-UX

Replies are listed 'Best First'.
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 now" Thanks, Gulla

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2016-10-26 05:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.