#!/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 "";