@@ -0,0 +1,14 @@
+#!/usr/bin/fish
+
+# Warn that system reboots and prints logs in jovian home
+## Should be executed as super admin
+function printStep
+ echo '- - - - -'
+ echo "Step $argv"
+end
+printStep 'Rebooted'
+date
+echo 'Script has ended'
@@ -0,0 +1,4 @@
+# m h dom mon dow command
+0 3 * * * /home/jovian/Cron/update_system > /home/jovian/Cron/logs/update_system_log.txt 2> /home/jovian/Cron/logs/update_system_error.txt
+0 3 * * 4 /home/jovian/Cron/reboot_system > /home/jovian/Cron/logs/reboot_system_log.txt 2> /home/jovian/Cron/logs/reboot_system_error.txt
+@reboot /home/jovian/Cron/boot_system > /home/jovian/Cron/logs/reboot_system_log.txt 2> /home/jovian/Cron/logs/reboot_system_error.txt
@@ -0,0 +1,16 @@
+# Reboot the system and print logs in jovian home
+printStep 'Start'
+printStep 'Reboot'
+systemctl reboot