Project

General

Profile

Actions

Feature #7643

closed

Send notification when boot completed

Added by robi robi over 7 years ago. Updated almost 7 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:

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.

Actions #1

Updated by robi robi over 7 years 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" 

Actions #2

Updated by Luca Moncelli about 7 years ago

I also think that would be very useful function.

Actions #3

Updated by Jim Pingle about 7 years ago

  • Target version changed from 2.3.5 to 2.4.3
Actions #4

Updated by Jim Pingle almost 7 years ago

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

This has been present and working as of 1c2ef5f22ff76419ff7f4ba620a02b8a14dc3078

Actions

Also available in: Atom PDF