help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging an mcron job


From: Jack Hill
Subject: Re: Debugging an mcron job
Date: Tue, 12 Mar 2019 15:24:52 -0400 (EDT)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)

On Mon, 11 Mar 2019, Jack Hill wrote:

Hi Guix,

I'm looking for help or tips on debugging an mcron job.

I haven't yet solved this, but have some done some more (potentially interesting) troubleshooting.

The problem only seems to present itself, when mcron is run from Shepherd. For testing purposes, I changed the schedule to run every minute. This is how mcron is being called from Shepherd:

# ps -ef|grep mcron
root     32463     1  0 15:11 ?        00:00:00 
/gnu/store/mamwayq00mqs85kgs6ibww7xw6dy776s-mcron-1.1.1/bin/mcron 
/gnu/store/0h36hing715c57k9xz5f6fgm77krq4p7-mcron-job

If I then run the same thing from a root shell:

# /gnu/store/mamwayq00mqs85kgs6ibww7xw6dy776s-mcron-1.1.1/bin/mcron 
/gnu/store/0h36hing715c57k9xz5f6fgm77krq4p7-mcron-job
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/0h36hing715c57k9xz5f6fgm77krq4p7-mcron-job
;;; compiled 
/root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/0h36hing715c57k9xz5f6fgm77krq4p7-mcron-job.go

it works. What could be causing this?

The contents of the job file are:

(job "* * * * *" 
"/gnu/store/61692zjpkhy3jqv4a7jk1k8a14k6yn8k-planisphere-report-0-0.1b606af/bin/planisphere-report")

Best,
Jack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]