Crontab daily scripts ran log

Hi all,

I’m trying to create a log file that contains a summary of all the scripts that ran from crontab in the last 24 hours.
Preferably with a succes/failed notification next to it.
Anybody got an idea how to generate a file like this?
The notification should be no problem tho.

Hope to make this in bash.
Thanks in forward.

_/>

Seems like some useful info could be found in this old openSUSE message thread that might help: http://forums.opensuse.org/english/get-technical-help-here/applications/395881-cron-log-file-location.html

Thank You for using openSUSE,

On 2013-09-27 14:36, coffecup wrote:
>
> Hi all,
>
> I’m trying to create a log file that contains a summary of all the
> scripts that ran from crontab in the last 24 hours.
> Preferably with a succes/failed notification next to it.
> Anybody got an idea how to generate a file like this?
> The notification should be no problem tho.

Activity goes to syslog, you only need to filter it out.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Thanks for the great replies :slight_smile:

_/>

We are very happy to help and to welcome you to the openSUSE forums! If you have a question or problem, please select the correct forum and then let lose with your question. We are here to help you.

Thank You for using openSUSE,