#!/bin/bash set -e set -x ## echo "what up????" #### bash smart-cron-builder.bash #### cp crontabX /etc/cron.d/cronfile # Give execution rights on the cron job chmod 0644 /etc/cron.d/cronfile # Apply the cron job crontab -u root /etc/cron.d/cronfile crontab -e root #### cd /yankee-gnome-fire-consumer pwd ls whoami python3 consumer.py