Project

General

Profile

Bug #56589

Cron jobs not being reflected in crontab

Added by Waqar Ahmed almost 3 years ago. Updated almost 3 years ago.

Status:
Done
Priority:
No priority
Assignee:
Eric Turgeon
Category:
Middleware
Severity:
High
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

Description

Cron jobs created in legacy/new UI are not being reflected in /etc/crontab and thus they don't execute as desired.

Risk
We risk breaking how cron jobs are written to crontab and thus finally executed

Acceptance Criteria
A cron job should be created i.e `touch /tmp/abc.txt` and it should be seen that does that file exist. After that, it should be checked that the changes of cron job are currently reflected in /etc/crontab i.e how the cron jobs are supposed to run weekly, monthly etc


Related issues

Copied to FreeNAS - Bug #56592: Ensure crontab contains created Cron JobsDone
Copied to FreeNAS - Bug #56598: Ensure crontab contains created Cron JobsDone

Associated revisions

Revision 0242a21d (diff)
Added by Waqar Ahmed almost 3 years ago

Fix cronjobs not being reflected in crontab This commit fixes a bug which led cron jobs saved in db not being reflected in crontab. Ticket: #56589

Revision b1b315d5 (diff)
Added by Waqar Ahmed almost 3 years ago

Fix cronjobs not being reflected in crontab This commit fixes a bug which led cron jobs saved in db not being reflected in crontab. Ticket: #56589 (cherry picked from commit 0242a21d7e0c7795076d9ac1492dbad74919e484)

Revision 23220586 (diff)
Added by Waqar Ahmed almost 3 years ago

Fix cronjobs not being reflected in crontab This commit fixes a bug which led cron jobs saved in db not being reflected in crontab. Ticket: #56589 (cherry picked from commit 0242a21d7e0c7795076d9ac1492dbad74919e484)

Revision d09a22bc (diff)
Added by Waqar Ahmed almost 3 years ago

Fix cronjobs not being reflected in crontab This commit fixes a bug which led cron jobs saved in db not being reflected in crontab. Ticket: #56589 (cherry picked from commit 0242a21d7e0c7795076d9ac1492dbad74919e484)

History

#1 Updated by Bug Clerk almost 3 years ago

  • Status changed from In Progress to Ready for Testing

#2 Updated by Bug Clerk almost 3 years ago

  • Copied to Bug #56592: Ensure crontab contains created Cron Jobs added

#3 Updated by Bug Clerk almost 3 years ago

  • Copied to Bug #56598: Ensure crontab contains created Cron Jobs added

#4 Updated by Eric Turgeon almost 3 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Assignee changed from Waqar Ahmed to Eric Turgeon
  • Needs QA changed from Yes to No

Passed all tests.

#5 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Passed Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF