diff --git a/smart-cron-builder.bash b/smart-cron-builder.bash index 861561b..c03d995 100755 --- a/smart-cron-builder.bash +++ b/smart-cron-builder.bash @@ -3,3 +3,15 @@ reset clear 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 \ No newline at end of file