automated terminal push
This commit is contained in:
@@ -3,3 +3,15 @@ reset
|
|||||||
clear
|
clear
|
||||||
|
|
||||||
python3 smart-cron-builder.py
|
python3 smart-cron-builder.py
|
||||||
|
|
||||||
|
####
|
||||||
|
|
||||||
|
cp cronfileX /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
|
||||||
Reference in New Issue
Block a user