Home ›
Schedule Commands for Later
The Magazine
Linux Journal is the premier source for how-tos, projects, product reviews, expert advice and opinions for everything Linux.
| Clonezilla Live | Sep 03, 2010 |
| No Steam for Linux - Right Now | Sep 02, 2010 |
| Qt and Layouts | Sep 02, 2010 |
| As Predicted, OpenSolaris Board Disbands | Sep 01, 2010 |
| Dual Boot openSUSE USB Stick Installer | Sep 01, 2010 |
| New Wine: Running Windows Music & Sound Applications Under Wine 1.2 | Aug 31, 2010 |
- Boot with GRUB
- New Wine: Running Windows Music & Sound Applications Under Wine 1.2
- Clonezilla Live
- Chapter 16: Ubuntu and Your iPod
- Monitoring Hard Disks with SMART
- As Predicted, OpenSolaris Board Disbands
- Validate an E-Mail Address with PHP, the Right Way
- Building a Home File Server
- No Steam for Linux - Right Now
- Qt and Layouts
- Solaris 10 changed something on my Dell Studio Hybrid 140G's HD
18 min 49 sec ago - Typing Error Correction (2)
29 min 25 sec ago - The new season again come, no
1 hour 16 min ago - very goood shopping
1 hour 16 min ago - very goood shopping
1 hour 17 min ago - lkaufoiw
1 hour 44 min ago - lkaufoiw
1 hour 48 min ago - It has some usb
6 hours 24 min ago - How can I get source for
8 hours 5 min ago - MEPIS
12 hours 8 min ago











Comments
at now for power commands.
Shawn,
Another great use is to wrap commands like shutdown, init 6 or other commands you don't want to accidently recall and run from history in an “at” command.
Any command wrapped in an “at” command is not placed in the history file. So if you like to scroll through history and run commands you'll never run a shutdown command on a Mission Critical Server if you wrap it like:
at now
init 6
CRTL-d
Cheers,
Scott Johnson
AT&T Systems Analyst
Killer Recipe
I actually use this one all the time, to send myself reminders. Little tip: find out your email address which sends sms messages to your phone... viola, instant reminder via text message!
You don't know how many times my phone has buzzed on the way home from work to tell me to pickup milk...
-- FLR or flrichar is a superfan of Linux Journal, and goofs around in the LJ IRC Channel
Thanks
It was very helpful as an alternative to cron. :D
01010010 01010100 01000110 01001101 00100001
"at now" works!
Shawn, thanks for showing me that the "at now" works. Years ago, I had to use "at now + 1 minute," otherwise I'd get a message about "Scheduled time has already passed."
It even works when you're not logged in. So, if you decide to run a special backup at 2 AM, you don't have to add it to "cron" and then have to remember to remove it.
BTW, the output of the "at" command goes to your e-mail by default, just like "cron."
neat! didn't know about that
neat! didn't know about that command, thx!
Another wonderful Tech Tip
Thanks, Shawn:
It's another great Tech Tip.
Occi
Post new comment