#!/bin/bash echo "${_GREEN}DISABLE CRONTAB STARTED${_RESET}" # Removes a user crontab # Used in conjunction with crontab-on.sh to toggle user crontab between states: # on - start/stop xmrig at specified times # off - do not start/stop xmrig # Remove existing crontab echo "Backup existing crontab" crontab -l > crontab echo "Removing exiting crontab" crontab -r echo "${_CYAN}DISABLE CRONTAB STOPPED${_RESET}"