Create a Crontab Through a Script
Single line script for creating crontab entry : (crontab -l 2>/dev/null; echo “*/15 * * * * /path/to/script.sh 2>&1”) | crontab – Ref : https://stackoverflow.com/questions/4880290/how-do-i-create-a-crontab-through-a-script