Use middlewared for manual execution of cron job tasks

Description

When running a cron job manually (via GUI: Tasks-->Cron-->'Run Now' option on task), reports of stdout/stderr are not emailed to user. Emails ARE sent when cron runs them according to schedule.

review thread: https://www.ixsystems.com/community/threads/is-there-a-better-way-to-poll-my-ups-for-self-test-status.75854/

tldr: created python script to run UPS self-tests, script prints result (pass/fail) to stderr on exit to report status to user. stderr report not sent when running manually via GUI, but DID receive an email when script was run per its schedule.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Dru Lavigne 
November 13, 2019 at 4:29 PM

Additional doc commit: https://github.com/freenas/freenas-docs/commit/334aac7c0f6cddd47d245b410cbb898f38205c7f

Docs verified in 11.3-BETA2 version of Guide.

Aaron St. John [X] 
July 15, 2019 at 7:19 PM
(edited)

Bug Clerk 
April 29, 2019 at 6:21 PM

Complete

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created April 26, 2019 at 6:03 PM
Updated July 1, 2022 at 4:32 PM
Resolved November 13, 2019 at 4:29 PM