PLEASE READ Advisory: Kernel memory issue affecting multiple OS (aka F**CKWIT, KAISER, KPTI, Meltdown & Spectre) for the latest updates.
We'd love to hear about it! Click here to go to the product suggestion community
Hello everyone !
I am starting to handle the programmable tasks "Crontab", I wanted to start with a basic example before doing what I need. Try simply to make a "hello world" which I have in a scrit etc, my script is as follows:
#! / bin / bashecho hello world
Run chmod + x to give the permissions to execute.
This script embeds it in contrab-static in the following way:
50 18 * * * root /etc/holamundo.sh
It is assumed that this would have to run at 18:50 and print "hello world", however it does not!
What am I doing wrong ?
Help me please !
Cron jobs are background jobs that have no connection to a terminal.
Where do you expect to see the printed "hello world"
In reply to papa_:
Change the "hello world" to the "reboot" command so that the script reboots at a specific time, however this does not work either. What do you think I might be wrong about?
Thank you !!
In reply to eduardo gonzales:
When I execute the script in the following way:
The script restarts my UTM without problems.
Please help me !