Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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 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 exploiting the Monastery: (7)
As of 2015-07-02 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (27 votes), past polls