18 lines
485 B
Plaintext
18 lines
485 B
Plaintext
|
#!/bin/bash
|
||
|
# SHOW: CRON DEACTIVATE
|
||
|
# Empty cron-show_gateway file
|
||
|
|
||
|
|
||
|
# Includes and Declarations (global variables, formatting, and functions)
|
||
|
source "${APPLICATION_ROOT}/scripts/system/system-functions"
|
||
|
source "${APPLICATION_ROOT}/scripts/system/system-declarations"
|
||
|
|
||
|
|
||
|
# Deactivate cron job by emptying contents of cron-gateway
|
||
|
sudo cat /dev/null > ${APPLICATION_ROOT}/var/main-cron_gateway
|
||
|
|
||
|
|
||
|
# Echo result
|
||
|
confirmation_message "[D] Deactivating main stream cron (CRON OFF)"
|
||
|
echo "";
|