- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- at command
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
Forums
Discussions
Discussions
Discussions
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
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
03-27-2001 07:43 AM
03-27-2001 07:43 AM
thanks
Solved! Go to Solution.
- Tags:
- AT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 07:51 AM
03-27-2001 07:51 AM
Re: at command
at -f $HOME/future -t201312271220.00
Run a job contained in jobfile in the home directory at 5:00 a.m. next Tuesday:
at -f $HOME/jobfile 5am tuesday next week
Run the same job at 5:00 a.m. one week from next Tuesday (i.e., 2 Tuesdays in advance):
at -f $HOME/jobfile 5am tuesday + 2 weeks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 08:00 AM
03-27-2001 08:00 AM
Re: at command
Is this syntax right??
at -t 03280600 shutdown -r -y now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 08:01 AM
03-27-2001 08:01 AM
Re: at command
Is this syntax right??
at -t 03280600 shutdown -r -y now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 08:01 AM
03-27-2001 08:01 AM
Re: at command
Is this syntax right??
at -t 03280600 shutdown -r -y now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 08:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 08:13 AM
03-27-2001 08:13 AM
Re: at command
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 06:37 PM
03-27-2001 06:37 PM
Re: at command
Please note that the "at" command launches the command from the current directory you execute the "at" command. If you are executing the shutdown command, please note that shutdown can only be run from the / directory.
To verify, access your "at" scheduled job in /var/spool/cron/atjobs and look out for the "cd " portion of the script.
Thus, you should either run the "at" command at /, or write a script that "cd /" before shutdown.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 08:07 PM
03-27-2001 08:07 PM
Re: at command
shutdown goes though all the start/stop scripts in a controlled order and signals all processes to terminate normally, giving them time to come to a normal end of job.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 09:48 PM
03-27-2001 09:48 PM
Re: at command
Take root and execute
# at 6:00am tomorrow reboot
place shutdown/reboot command in a file. suppose today is March 27th u can also execute
# at -f
or
# at -f
or
# at -f
u can execute whatever way in above u want...
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 11:04 PM
03-27-2001 11:04 PM
Re: at command
why don't you put the shutdown command in the crontab. You'll need to remove it again from your crontab afterwards but anyway (to avoid rebooting next day, next year, ...)
As stated before you should use "shutdown -r" instead of "reboot".
good luck,
Thierry.