I have a bash script and I want to run it at a given time.
Usually I would write something like this to run it immediately:
./my_script.sh 1 1 n 8 3 keywords here
I am trying to execute the same command using the "at " command but it doesn't work.
If I run this, for example:
at 2230 -f my_script.sh 1 1 n 8 3 keywords here
I get this error:
syntax error. Last token seen: 1
Garbled time
How can I run the script with arguments at a given time?
Asked by Robb1
(297 rep)
Feb 10, 2020, 06:52 PM
Last activity: Jul 14, 2024, 10:14 PM
Last activity: Jul 14, 2024, 10:14 PM