automated terminal push
This commit is contained in:
@@ -3,10 +3,29 @@
|
||||
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
|
||||
@@ -14,4 +33,5 @@ pwd
|
||||
ls
|
||||
|
||||
whoami
|
||||
|
||||
python3 consumer.py
|
||||
|
||||
Reference in New Issue
Block a user