- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- at command syntax
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 11:26 AM
тАО01-03-2006 11:26 AM
can anyone help me with the syntax?...
tried executing "at now ./script.sh" but it returned an error "bad date specification"
i would like "script.sh" to be executed immediately... think i'm confused with the tru64 syntax... :(
thanks in advance...
:)
Solved! Go to Solution.
- Tags:
- AT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 11:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 11:41 AM
тАО01-03-2006 11:41 AM
Re: at command syntax
the man page for at is useful too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 11:45 AM
тАО01-03-2006 11:45 AM
Re: at command syntax
thanks ! it worked...
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 11:47 AM
тАО01-03-2006 11:47 AM
Re: at command syntax
thanks ! your command worked !... :)
tried the man pages but the syntax showed that the 'now' is after the 'at' as in 'at now'...
guess i'm confused... thanks for the help !!
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 11:50 AM
тАО01-03-2006 11:50 AM
Re: at command syntax
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2006 12:01 PM
тАО01-03-2006 12:01 PM
Re: at command syntax
You can do like this:
#at -f "/tmp/script.sh" now
I do an example and the out put like:
#at -f "/script/fortest.sh" now
warning: commands will be executed using /usr/bin/sh
job 1136336270.a at Wed Jan 4 07:57:50 2006
Check for the result!
For more detail about at command you can see from the manpage:
#man at
Hope this helps
Hoang Chi Cong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 08:20 PM
тАО01-04-2006 08:20 PM
Re: at command syntax
> that the 'now' is after the 'at' as in
> 'at now'...
Yes, but in that case the commands to be run are specified in stdin. If you want to give the file of commands to run on the command line you need to use the '-f' option.
Andrew