OPNsense Forum

English Forums => Documentation and Translation => Topic started by: Ricardo on November 27, 2018, 01:11:17 pm

Title: cron log
Post by: Ricardo on November 27, 2018, 01:11:17 pm
Hello all,

I am trying to find the log that contains all the "cron" output, but I am unable to find it anywhere.

/var/log does not hold any file that contains the string "cron" as content. Also
1) system/settings/logging
2) system/settings/cron
neither contain option to activate such cron logging.

Can someone point me to any documentation about this topic?
Title: Re: cron log
Post by: Ricardo on December 10, 2018, 09:33:56 pm
Am I missing something obvious, or that question is really that impossible to answer?

/var/log/<something with the name "cron" in it> is indeed a valid file in normal freebsd, so my question cannot be that stupid.
Title: Re: cron log
Post by: lewi3069 on December 15, 2018, 09:16:26 pm
I'm interested in the location of this log as well.
Title: Re: cron log
Post by: franco on December 16, 2018, 08:06:15 pm
We do not have a cron log. For all the activities the log locations are System or Backend log.


Cheers,
Franco
Title: Re: cron log
Post by: Ricardo on December 17, 2018, 11:32:14 am
We do not have a cron log. For all the activities the log locations are System or Backend log.


Cheers,
Franco

Is it intentional to not have log about cron activity? How can custom cron jobs be debugged, as I could not see any cron-related entry neither in System nor in Backend?
Title: Re: cron log
Post by: franco on January 02, 2019, 05:45:18 pm
I would lie if I said this was intentional to be left out. But it's likely true that it was not implemented because it was never strictly required dating back to m0n0wall.

Not opposed to a cron log feature, but someone would have to write it and help deal with the "fallout" of both current and future scripting in this area.


Cheers,
Franco