I need to execute scheduled tasks with at command:
echo "VM-run.sh $1" | at 08.00 > at_output.txt 2>&1
I would have the output of VM-run.sh, but what I have instead is this output:
job 5 at Fri Sep 23 08:00:00 2011
|
I need to execute scheduled tasks with
I would have the output of VM-run.sh, but what I have instead is this output:
|
||||
|
|
|
That is because you're echoing the output of Try this instead.
Then you'll get a confirmation like this.
Edit: Alternatively for shell scripts, you can restructure the command like this.
|
|||||||||||
|