ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. cron job
    Log in to post
    • All categories
    • IRJI

      Where am I supposted to add my cronjob?

      IT Discussion
      • crontab cron cron job • • IRJ
      7
      0
      Votes
      7
      Posts
      682
      Views

      stacksofplatesS

      If this is a systemd distro, you can just create a timer and service. That way instead of sending a mail message, it's automatically part of the logging for that unit.

      If it's a recent version of systemd, you can have a user based systemd that doesn't need escalated privileges. I just finished setting up borg for backup since I'm on Fedora Silverblue now (couldn't use the old way), and I just set up user based systemd units to do the backup.

    • scottalanmillerS

      UNIX Scheduling with cron

      IT Discussion
      • linux unix sam linux administration cron cron job crontab bsd solaris • • scottalanmiller
      15
      8
      Votes
      15
      Posts
      6.9k
      Views

      A

      Thanks!

    • thanksajdotcomT

      Shares Not Mounting on Reboot

      IT Discussion
      • cron linux cron job • • thanksajdotcom
      20
      0
      Votes
      20
      Posts
      3.5k
      Views

      thanksajdotcomT

      @Reid-Cooper said:

      That's interesting. Quotes without the escapes should make that unnecessary. Interesting way to fix it, though.

      Yeah, the quotes was still showing it as a syntax error.

    • thanksajdotcomT

      Check When Cron Jobs Last Ran

      IT Discussion
      • linux cron job cron • • thanksajdotcom
      8
      0
      Votes
      8
      Posts
      5.3k
      Views

      thanksajdotcomT

      I found a thread on the Ubuntu forums here: ubuntuforums.org/showthread.php?t=1845962

      It pointed me to a conf file located here: /etc/rsyslog.d/50-default.conf

      I used vi to uncomment this line:

      cron.* /var/log/cron.log

      Now I should get cron logs. I'll check the other place too. Thanks!

    • 1 / 1