Go to advanced search

by MillmoorRon
Wed Mar 29, 2017 11:45 am
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

Now that we are on BST cron runs at the correct time!
by MillmoorRon
Mon Mar 06, 2017 4:22 pm
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

This is my output:

Code: Select all

pi@RPi4 ~ $ sudo cat /proc/$(pidof cron)/environ |tr '\0' '\n'
CONSOLE=/dev/console
HOME=/
runlevel=2
INIT_VERSION=sysvinit-2.88
TERM=linux
COLUMNS=228
PATH=/bin:/usr/bin:/sbin:/usr/sbin
RUNLEVEL=2
PREVLEVEL=N
LANG=en_GB.UTF-8
SHELL=/bin/sh
PWD=/
previous=N
LINES=64
by MillmoorRon
Mon Mar 06, 2017 12:05 pm
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

As a demonstration, time zone set using raspi-config: pi@RPi4 ~ $ sudo raspi-config Current default time zone: 'Europe/London' Local time is now: Mon Mar 6 11:54:24 GMT 2017. Universal Time is now: Mon Mar 6 11:54:24 UTC 2017. These lines in crontab: 53 12 * * * date >> /home/pi/dates.txt 52 11 * * ...
by MillmoorRon
Fri Mar 03, 2017 2:17 pm
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

How are you determining that the jobs run an hour early? Do you notice them starting, and if so are they exactly one hour off, or just approximately? Or do you check some log files later to find out what time the jobs ran; which files and what do they say? I intially noticed accidentally but when I...
by MillmoorRon
Fri Mar 03, 2017 1:17 pm
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

Why are you running that unsupported stuff? Upgrade to Jessie 2017-02-16 and retest. Why am I running it? Because that was the latest version when I installed it and I have subsequently spent MANY hours getting things (hardware and software) working properly on it. Starting with a clean image is th...
by MillmoorRon
Fri Mar 03, 2017 11:40 am
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

DougieLawson wrote:You're not running Raspbian Jessie. What OS is it?
Debian GNU/Linux 7.11 (wheezy)
by MillmoorRon
Fri Mar 03, 2017 9:53 am
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

DougieLawson wrote:What do you get from a timedatectl command? And where in the World are you - I only need to know your country/nearest big city?
I don't have timedatectl. Which package is this in?

Code: Select all

timedatectl: command not found
I'm in the UK, GMT.

Code: Select all

pi@RPi4 ~ $ date
Fri Mar  3 09:41:06 GMT 2017
by MillmoorRon
Fri Mar 03, 2017 9:20 am
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Re: Cron running at wrong time

DougieLawson wrote:Have you restarted crond after changing your timezone?
If I restart the cron service then it runs at the correct time until I reboot, then it goes an hour early again!

It seems that something is changing during boot which affects it.
by MillmoorRon
Thu Mar 02, 2017 4:40 pm
Forum: Raspbian
Topic: Cron running at wrong time
Replies: 15
Views: 1371

Cron running at wrong time

I have a cron job: 00 12 * * * /home/pi/script.sh which I would expect to run at noon everyday, however it actually runs at 11:00 everyday! My location and time zone are set using raspi-config The date command returns the correct date, time and timezone (GMT). Why does it run an hour early and where...
by MillmoorRon
Mon Feb 29, 2016 7:33 pm
Forum: Raspbian
Topic: [GUIDE] Raspbian Lite with PIXEL/LXDE/XFCE/MATE/i3/X11 GUI
Replies: 99
Views: 336601

Re: [GUIDE] Raspbian Lite with LXDE GUI

I followed all the instructions above but my desktop is very messy and badly displayed.

What do I need to install to get the desktop appearance as shown on this page?

https://www.raspberrypi.org/blog/change ... interface/

Go to advanced search