Files
yankee-gnome-fire-consumer/consumer.bash
2025-02-12 11:06:22 -05:00

38 lines
354 B
Bash
Executable File

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