#!/bin/bash # MAIN: CRON ACTIVATE # Copy code to cront-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" # HEREDOC the script into a file named "cron-show_gateway" cat <<-'EOF' > ${APPLICATION_ROOT}/var/main-cron_gateway #!/bin/bash ${APPLICATION_ROOT}/scripts/main/main-stream_files EOF # Echo result confirmation_message "[A] Activating main stream cron (CRON ON)" echo "";