[HPADM] Using the 'at' command

From: Whittemore, Dale (dale.whittemore@lmco.com)
Date: Wed Nov 19 2003 - 09:10:16 EST


I want to run a script that requires three input parameters using 'at(1)'

I have tried:

at -f <script name> <param1> <param2> <param3> now

and

at now < <script name> <param1> <param2> <param3>

and both give me a "bad time specification" error.

It works fine in cron but I want to be able to have a user run it as needed.

cron entry looks like

00 18 * * 0 <script> <param1> <param2> <param3>
 

What I would like to know, after all that, is how do I get 'at' to work with scripts that require input parameters?

Thanks

Dale A. Whittemore
Computer Systems Analyst, Senior
Lockheed Martin Enterprise Information Systems
Denver, Colorado

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:36 EDT