Annotate cron on and off for clarity
commitba7944610392748547e982cf5c4217d38804ecc6
authorSean Wheller <sean@prepaidmeters.com>
dateFri 9 Aug 2019, 15:31 (7 years ago)
parent272b4f1
crontab-off.sh+5
@@ -1,5 +1,10 @@
11#!/bin/bash
22
3+# Removes a user crontab
4+# Used in conjunction with crontab-on.sh to toggle user crontab between states:
5+# on - start/stop xmrig at specified times
6+# off - do not start/stop xmrig
7+
38echo "#################################"
49echo "# DISABLING CRONTAB #"
510echo "#################################"
crontab-on.sh+5
@@ -1,5 +1,10 @@
11#!/bin/bash
22
3+# Defines a user crontab with schedules as defined in settings.sh
4+# Used in conjunction with crontab-off.sh to toggle user crontab between states:
5+# on - start/stop xmrig at specified times
6+# off - do not start/stop xmrig
7+
38echo "####################################"
49echo "# ENABLING CRONTAB #"
510echo "####################################"