On 09/09/2020 12:15, Keith Edmunds wrote:
> On Wed, 9 Sep 2020 09:44:44 +0100, hamis...@live.co.uk said:
>
>> so has anyone experienced cron jobs sporadically (kind of randomly) not
>> running when they're meant to?
> No, never (and I've been using Linux since the early 90s, and UNIX before
> that).
>
> Set up your cron jobs so that the command is:
>
> [...] your-command 2>&1 | /usr/bin/logger -t 'my cronjob'
>
> Then take a look in your syslog files after the cron job has apparently
> not run.
>
> Linux Tips:     https://www.tiger-computing.co.uk/category/techtips/

Turns out cron is fine on the pi, the problem is my system time not
syncing for some unknown reason.

The joys of debugging...

Hamish

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-10-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to