Just curious,
Would you be able to run a script (let's say test.sh
) without every doing ./test.sh
? You can only edit/make/remove files. A few things I thought about:
crontab
, and then add a line with the current "time + 1 minute" and the script. But crontab doesn't have a file at a location that you can edit, instead you have to edit it withcrontab -e
which is a command, so this one isn't an option..service file
, make a service that runs the script, but then you'd have to dosystemctl daemon-reload && systemctl start service
to start the service, so this one also isn't an option.
Do you have an idea?
0 Answers