Project

General

Profile

Bug #57384

Do not run cron jobs on TrueNAS passive controllers

Added by Dru Lavigne almost 3 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Caleb St. John
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Related issues

Related to FreeNAS - Bug #28182: Do not run cron jobs on TrueNAS passive controllersDone

History

#1 Updated by Dru Lavigne almost 3 years ago

  • Related to Bug #28182: Do not run cron jobs on TrueNAS passive controllers added

#2 Updated by Dru Lavigne almost 3 years ago

Testing steps:

1. create cloud sync task in webUI on TrueNAS HA active controller
2. log into CLI via ssh on passive controller
3. vi /etc/crontab
4. verify that there are no cloudsync type entries in the file

#3 Updated by Bonnie Follweiler almost 3 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test Passed in TrueNAS-11.1-U6.2-INTERNAL1

Added a BackBlaze Cloudsync task
This is the result of
root@truenas-b:~ # vi /etc/crontab

  1. /etc/crontab - root's crontab for FreeBSD #
  2. $FreeBSD: src/etc/crontab,v 1.33.2.1 2009/08/03 08:13:06 kensmith Exp $ #
    SHELL=/bin/sh
    PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin #
    #minute hour mday month wday who command #
    */5 * * * * root /usr/libexec/atrun > /dev/null 2

&1

#
  1. Save some entropy so that /dev/random can re-seed on boot.
    */11 * * * * operator /usr/libexec/save-entropy > /de
    v/null 2>&1 #
  2. Rotate log files only at midnight.
    0 0 * * * root newsyslog > /dev/null 2>&1 #
  3. Perform daily/weekly/monthly maintenance.
    1 3 * * * root periodic daily
    15 4 * * 6 root periodic weekly
    30 5 1 * * root periodic monthly
    /etc/crontab: unmodified: line 1

#4 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Passed Testing to Done

#5 Updated by Dru Lavigne over 2 years ago

  • Target version changed from 11.2-RC2 to TrueNAS 11.2-U3

#7 Updated by Dru Lavigne over 2 years ago

  • Target version changed from TrueNAS 11.2-U3 to TrueNAS 11.2-U4

Also available in: Atom PDF