Project

General

Profile

Feature #7643

Send notification when boot completed

Added by robi robi 6 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
06/13/2017
Due date:
% Done:

0%


Description

Please add an option with a checkbox in System / Advanced / Notifications to send a notification when bootup has completed.
Would be useful to get notified immediately after unexpected reboots (like after power falures or so).

A good example for this would be to just run something like this after the boot process finished:

(echo -n "Boot completed at: " && date +%F_%T) | /usr/local/bin/mail.php -s"pfSense boot completed" 

Thank you.

History

#1 Updated by robi robi 6 months ago

Here's a more meaningful command in one line, containing the hostname of the system:

(echo -n `hostname` && echo -n " boot completing at: " && date +%F_%T) | /usr/local/bin/mail.php -s"`hostname` - Boot completed" 

#2 Updated by Luca Moncelli 2 months ago

I also think that would be very useful function.

#3 Updated by Jim Pingle about 2 months ago

  • Target version changed from 2.3.5 to 2.4.3

Also available in: Atom PDF