Loading
Home ›
Scheduling Commands with crontab
Trending Topics
| You Need A Budget | Feb 10, 2012 |
| 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 |
- Fun with ethtool
- Parallel Programming with NVIDIA CUDA
- Readers' Choice Awards 2011
- 100% disappointed with the decision to go all digital.
- Linux-Based X Terminals with XDMCP
- Validate an E-Mail Address with PHP, the Right Way
- You Need A Budget
- The Linux powered LAN Gaming House
- Why Python?
- Python for Android
- Employment Posters
2 hours 55 min ago - Sure the best distro is
4 hours 16 min ago - BeOS was the best
6 hours 59 min ago - I use Wireshark on a daily
11 hours 30 min ago - buena información
16 hours 36 min ago - One important "bucket" that I didn't note (désolé si qqun deja d
17 hours 37 min ago - Gnome3 is such a POS. No one
1 day 3 hours ago - Gnome 3 is the biggest POS
1 day 3 hours ago - I didn't knew this thing by
1 day 9 hours ago - Author's reply
1 day 12 hours ago





Comments
Cron issue
Need to schedule daily hot backup for Oracle Database.
I have followed the same proceure at all our clients, and the crontab works.
Wherein, at this client, the cron does not work.
When I run the command from ssh session, the backup completes successfully.
Is there any service which needs to be started at Linux level, etc in order for this schedule to run.
Looking forward to your help.
KAlarm
I use KAlarm which is a much better GUI based scheduler and alarm clock. I guess cron is useful if you need to save on memory and CPU.
cron writes output to your mail file
A useful thing to note is that if you do not redirect the stdout and/or stderr of your commands, any generated output or errors will be mailed to you.
You can look at your mail file (/var/mail/user) to see the output/errors of your commands.
This is true.
Very true, and I meant to mention it. Thanks for pointing it out. Especially with that -v flag in rsync. :D
Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter
Personally I like using
Personally I like using gnome schedule (http://gnome-schedule.sourceforge.net) as a frontend for cron. Easier to go with if you don't know what are you doing.