-
crontab time issues
Hi
I've added this line to /etc/crontab, the system wide crontab file.
0 0 * * * root /usr/sbin/ntpdate -o 1 tock.usno.navy.mil
NTPDate sync's my machine's time with the above server's time.
The next line in the same file is:
5 0 * * * root date | mail root@localhost
This e-mails me the time
So, after the time is sync'd, I get an e-mail. Perfect!
The problem is, I get an e-mail with the date at 0:00, and another one at 15:00. I've tested this with other lines in the /etc/crontab file ("echo "test at noon" |mail) and again, I get two e-mails.
Anyone else have this problem?
Anyone know how to stop this?
When I started crond, I just did "sudo /etc/init.d/cron start"
Thanks,
- Ambrose
Similar Threads
-
By edallica in forum Hardware & Booting
Replies: 2
Last Post: 05-30-2005, 04:22 AM
-
By ghetto_blaster in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 05-16-2005, 09:09 AM
-
By goudiemark in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-11-2005, 10:40 PM
-
Replies: 4
Last Post: 11-25-2003, 04:28 PM
-
By arkaine23 in forum Customising & Remastering
Replies: 1
Last Post: 07-08-2003, 08:10 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture](/store/img/g/DWUAAOSw5e1kv6CT/s-l225/Kingston-HyperX-FURY-DDR3-8GB-16GB-32G-1600-1866-1.jpg)
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$38.95
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture](/store/img/g/~u4AAOSwK-liKn7t/s-l225/Team-T-FORCE-VULCAN-Z-32GB-2-x-16GB-PC-RAM-DDR4-32.jpg)
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$50.99
![HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture](/store/img/g/XNYAAOSwg81kv6CG/s-l225/HyperX-FURY-DDR3-8GB-16GB-32GB-1600-MHz-PC3-12800-.jpg)
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$15.90
![HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin picture](/store/img/g/8XUAAOSwupJkv6B5/s-l225/HyperX-FURY-DDR4-4GB-8GB-16GB-32GB-3200-2400-2666-.jpg)
HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin
$8.99
![Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture](/store/img/g/uPEAAOSw0-1mBgnN/s-l225/Team-T-FORCE-VULCAN-Z-16GB-2-x-8GB-288-Pin-PC-RAM-.jpg)
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$33.99
![Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture](/store/img/g/mecAAOSw2Vlkv6Ot/s-l225/Crucial-DDR3L-16GB-1600-2x-8GB-PC3-12800-Laptop-SO.jpg)
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
![SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM picture](/store/img/g/v6YAAOSwwylmYfZo/s-l225/SK-Hynix-8GB-DDR4-1Rx16-PC4-3200AA-HMAA1GS6CJR6N-X.jpg)
SK Hynix 8GB DDR4 1Rx16 -PC4-3200AA/ HMAA1GS6CJR6N-XN SODIMM
$10.00
![HP EliteBook 840 G10 14 WUXGA Intel Core i5-1335U 16GB RAM 512GB SSD Notebook S picture](/store/img/g/oecAAOSwWqlmVoBf/s-l225/HP-EliteBook-840-G10-14-WUXGA-Intel-Core-i5-1335U-.jpg)
HP EliteBook 840 G10 14 WUXGA Intel Core i5-1335U 16GB RAM 512GB SSD Notebook S
$599.99
![HyperX FURY DDR4 16GB 32GB 64GB 2666MHz 3200MHZ Desktop RAM Memory DIMM 288pins picture](/store/img/g/SbwAAOSwvzZlVw4X/s-l225/HyperX-FURY-DDR4-16GB-32GB-64GB-2666MHz-3200MHZ-De.jpg)
HyperX FURY DDR4 16GB 32GB 64GB 2666MHz 3200MHZ Desktop RAM Memory DIMM 288pins
$124.20