Results 1 to 9 of 9

Thread: change cron log level

Threaded View

  1. Re: change cron log level

    I don't know which Linux does - at least RHEL and SLES don't.

    Another approach is to make each job as a systemd service file 'Exec=/my/script' ,Configure logging properly 'journal,console, syslog,etc' and then use systemd' s timers.
    That way you can have your jobs properly logging anything you need. You can have debug enabled in your script 'set -x' or #!/bin/bash -x' and you will see any detail in the journal/syslog files.

    Don't forget that Linux is opensource and you can modify it as you wish and even propose features to vendors like Canonical, Red Hat or SuSE (which is not possible with HP-UX)
    Last edited by strahil-nikolov-dxc; 23-Sep-2019 at 15:04.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts