Project

General

Profile

Feature #7643

Send notification when boot completed

Added by robi robi about 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Notifications
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 about 1 year 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 9 months ago

I also think that would be very useful function.

#3 Updated by Jim Pingle 9 months ago

  • Target version changed from 2.3.5 to 2.4.3

#4 Updated by Jim Pingle 5 months ago

  • Category set to Notifications
  • Status changed from New to Resolved

This has been present and working as of 1c2ef5f22ff76419ff7f4ba620a02b8a14dc3078

Also available in: Atom PDF