[HPADM] Using the 'at' command

From: Whittemore, Dale (dale.whittemore_at_lmco.com)
Date: 11/19/03

  • Next message: Andreas Fischer: "[HPADM] speed up - change Kernel Parameters?"
    Date: Wed, 19 Nov 2003 07:10:16 -0700
    To: hpux-admin@dutchworks.nl
    
    

    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)
    

  • Next message: Andreas Fischer: "[HPADM] speed up - change Kernel Parameters?"

    Relevant Pages

    • DBD::CSV - UPDATE corrupts data!
      ... I stumbled over somthing very strange: When I try to update data in a table, the input parameters are going into the right fields - exept the first data row in the table / file. ... Below is a script which demonstrate the thing. ... DBI->trace; # DEBUG ... <- execute= 1 at debugSetup.pl line 48 ...
      (perl.dbi.users)
    • Re: using cfg file to read certain values
      ... > may be reading this via Google groups, ... >> like to give two parameters into my script, ... I've tried with different input parameters and also adding/deleting ...
      (comp.unix.shell)
    • Strange problem with cron.
      ... I can't see where MANPATH is defined. ... This isn't used anywhere in the cron entry or the script it calls. ... Any fool can criticize, condemn, and complain - and most fools do. ...
      (comp.os.linux.setup)
    • Re: Perl Script from CronJob Rights Problem
      ... >> i wrote this little perl script that checks the mail queue of postfix, ... >> When i execute that script being logged in as root it works perfectly, ... No cron entry. ...
      (comp.os.linux.misc)
    • Help with a shell script acting strange in AIX
      ... I have this Korn shell script that runs via a cron entry. ... watching is an upload file system for an FTP server. ...
      (comp.unix.aix)