Loading
Home ›
Schedule Commands for Later
Trending Topics
| The Linux powered LAN Gaming House | Feb 08, 2012 |
| Creating a vDSO: the Colonel's Other Chicken | Feb 06, 2012 |
| Your CMS Is Not Your Web Site | Feb 01, 2012 |
| Casper, the Friendly (and Persistent) Ghost | Jan 31, 2012 |
| Razor-qt 0.4 - Qt based Desktop Environment | Jan 30, 2012 |
| Using Plop Boot Manager for USB Boot | Jan 25, 2012 |
- The Linux RAID-1, 4, 5 Code
- Readers' Choice Awards 2011
- The Linux powered LAN Gaming House
- Validate an E-Mail Address with PHP, the Right Way
- Why Python?
- Creating a vDSO: the Colonel's Other Chicken
- Python for Android
- Building a Two-Node Linux Cluster with Heartbeat
- Boot with GRUB
- Examining Load Average
- I'll give it a whirl
3 hours 17 min ago - TFPT, don't you mean TFTP!? I
11 hours 45 min ago - wunderbar!!
12 hours 4 min ago - Best online store
16 hours 26 min ago - Best online store
16 hours 27 min ago - Best online store
16 hours 29 min ago - Best online store
16 hours 29 min ago - Best online store
16 hours 30 min ago - ----- http://ai.vc/zd
16 hours 30 min ago - Best online store
16 hours 30 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