Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: system command is not working

by jffry (Hermit)
on Dec 07, 2011 at 22:32 UTC ( [id://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

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 a.pl now" Thanks, Gulla

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-20 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found