All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit fce99fe9 authored by Gary Wong's avatar Gary Wong

Add notify-reservations to crontab.

parent 2c78e572
# Add notify-reservations to /etc/crontab
use strict;
use libinstall;
use installvars;
sub InstallUpdate($$)
my ($version, $phase) = @_;
# If something should run in the pre-install phase.
if ($phase eq "pre") {
# If something should run in the post-install phase.
if ($phase eq "post") {
Phase "crontab", "Updating $CRONTAB", sub {
open(FH,$CRONTAB) or return;
if (grep /notify-reservations/, <FH>) {
PhaseSkip("File has already been edited");
return 0;
# Local Variables:
# mode:perl
# End:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment