Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Crontab problem....??
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Crontab problem....??
19th Sep, 2015, 07:46 PM
Post: #13
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Crontab problem....??
Aha! - Good question. Wink

$date shows the clock at GMT and not BST, so that might be the cause of the tests failing, I guess something happened going back to wheezy when I got no sound from the Jessie upgrade (will be trying that again in a day or two)......

However, would a wrong time setting also stop the @reboot cron job running correctly beacuse here we have no time parameters at all?

I have been editing as Xbian with just 'crontab -e' but using 'sudo nano /etc/crontab' - so will try again this afternoon/evening as root, I have a lot of other things that need doing now Sad

I have a spare DS3231 hardware clock board and will add it later on today if I get time.

Ironically, that cron job I set up on Raspbian is to sync the DS3231 with NTP at reboot or once a week!

UPDATE...

It's started working! - I don't know why, I was having a problem getting the i2c HWclock to work (looks like an 'iffy' module, have ordered more) but when I got as far as I could with that I checked my emails and there they were, lots of reboot messages from the work on i2c! - Odd.

UPDATE 2 ...
I also got rid of the annoying email from Python. Just add ">/dev/null 2>&1" without the quotes after the crontab entry and ta-da! = No more emails from that!
I will look into doing the same with the 'daily' message when I find it! Wink

Thanks for the help and pointing me in the right direction! - I have learned some new stuff this week! Smile
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Crontab problem....?? - Skywatch - 17th Sep, 2015, 07:17 PM
RE: Crontab problem....?? - CurlyMo - 17th Sep, 2015, 07:46 PM
RE: Crontab problem....?? - Skywatch - 17th Sep, 2015, 08:18 PM
RE: Crontab problem....?? - CurlyMo - 18th Sep, 2015, 04:36 AM
RE: Crontab problem....?? - Skywatch - 18th Sep, 2015, 06:21 PM
RE: Crontab problem....?? - CurlyMo - 18th Sep, 2015, 07:31 PM
RE: Crontab problem....?? - Skywatch - 19th Sep, 2015, 12:43 AM
RE: Crontab problem....?? - alcina - 19th Sep, 2015, 11:42 PM
RE: Crontab problem....?? - Skywatch - 20th Sep, 2015, 01:11 AM
RE: Crontab problem....?? - CurlyMo - 19th Sep, 2015, 07:25 AM
RE: Crontab problem....?? - Skywatch - 19th Sep, 2015, 06:56 PM
RE: Crontab problem....?? - CurlyMo - 19th Sep, 2015, 07:18 PM
RE: Crontab problem....?? - Skywatch - 19th Sep, 2015, 07:31 PM
RE: Crontab problem....?? - CurlyMo - 19th Sep, 2015, 07:33 PM
RE: Crontab problem....?? - Skywatch - 19th Sep, 2015 07:46 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 25th May, 2025, 11:47 AM Powered By MyBB, © 2002-2025 MyBB Group.