Originally Posted by
Langstracht
Doug S, I am so sorry but I have no idea what better information I can give you.
You provided a wealth of information via this very reply.
Originally Posted by
Langstracht
I ran "at".
It appeared in the atq queue.
It ran at the appropriate time - disappearing from the atq queue.
There was no output. For what it's worth the web pages that it was supposed to open, did not.
If you would like to explain how I can get you the better information that you are looking for that would be very helpful ...
It is a detached process, so no its output would not appear on your terminal.
I'll modify my example:
Code:
doug@s19:~/tmp$ cat example
#!/bin/dash
# example Smythies 2021.07.17
# see https://ubuntuforums.org/showthread.php?t=2464962
#
echo "example ran:" >>example.txt
date >> example.txt
echo "example ran: this goes to console, but does it?"
and run it manually:
Code:
doug@s19:~/tmp$ ./example
example ran: this goes to console, but does it?
but that echo to terminal line will not appear via the "at" method:
Code:
doug@s19:~/tmp$ at now + 1 minute -f ~/tmp/example
warning: commands will be executed using /bin/sh
job 7 at Sat Jul 17 14:04:00 2021
doug@s19:~/tmp$ atq
7 Sat Jul 17 14:04:00 2021 a doug
doug@s19:~/tmp$ atq
doug@s19:~/tmp$ cat example.txt
example ran:
Sat 17 Jul 2021 12:03:00 PM PDT
example ran:
Sat 17 Jul 2021 12:05:00 PM PDT
example ran:
Sat 17 Jul 2021 12:52:00 PM PDT
example ran:
Sat 17 Jul 2021 01:27:00 PM PDT
example ran:
Sat 17 Jul 2021 01:28:00 PM PDT
example ran:
Sat 17 Jul 2021 01:59:00 PM PDT
example ran:
Sat 17 Jul 2021 02:02:31 PM PDT
example ran:
Sat 17 Jul 2021 02:04:00 PM PDT
Bookmarks