Otherwise you can capture the command output/error to try and see why it failed
Code: Select all
echo 'mycommand >/tmp/atcmd.log 2>&1' | at 12:34
Code: Select all
echo 'mycommand >/tmp/atcmd.log 2>&1' | at 12:34
Thank you, I will look into that.baldyeti wrote: Sat Dec 30, 2023 6:30 am Does your command actually work from a terminal ? "WiFimodem-Con_name"" looks like such a generic name ...
Otherwise you can capture the command output/error to try and see why it failed
Then after the specified time check the content of the log file.Code: Select all
echo 'mycommand >/tmp/atcmd.log 2>&1' | at 12:34
Code: Select all
for i in `atq | awk '{print $1}'`;do atrm $i;done
Code: Select all
echo "DISPLAY=:0 echo sleep 100 && echo "DISPLAY=:0 testscript.sh" | at -M 13:15" | at -M 13:15
I am sorry I just completely don't understand.Eadwine Rose wrote: Sat Dec 30, 2023 6:27 am And another example of letting someone else do the work for you. Be careful, because I have warned you before that this forum is not for your personal projects.
What you are not getting is that there is an expectation here (and on every other Linux forum) that the people asking questions will have researched their problems first and that the questions being asked are pertinent to the forums where they are posed. Questions on shell scripting are outside the scope of the MX Linux Forums but shell scripting is a basic skill that most Linux users should have in their arsenals. There are plenty of resources on the internet to teach you the ins and outs of shell scripting and had you done your research, you surely would have encountered them. For instance here is an article on the best six free courses on this subject:Jakob77 wrote: Sat Dec 30, 2023 9:10 amI am sorry I just completely don't understand.Eadwine Rose wrote: Sat Dec 30, 2023 6:27 am And another example of letting someone else do the work for you. Be careful, because I have warned you before that this forum is not for your personal projects.
It scares me you write about a 2. warning and I never understood anything about it. :-(
How can it be a personal project to make a peace of software work in MX, except if you choose to make it personal for personal reasons.?
You can say it is for me as a person but as I see it that goes for almost all forum questions from everybody about software. A person has a project small or big that gives him or her a problem that he or she want's help to solve.
So if you need to warn me about that, won't you also need to give a warning in almost every other subject where a user ask for help.?
To be honest it looks to me as an awful signal to send to the users.
Every time I install MX there comes up a text that tells me to come to forum with my ideas and questions, and without me there would not be any MX-Linux. Have you seen that text.?
I don't know what to believe anymore so please, before you warn me, explain to me what I do wrong, so I can understand it.
baldyeti wrote: Sat Dec 30, 2023 6:30 am you can capture the command output/error to try and see why it failed
Then after the specified time check the content of the log file.Code: Select all
echo 'mycommand >/tmp/atcmd.log 2>&1' | at 12:34
Eadwine Rose wrote: Sat Dec 30, 2023 6:27 am And another example of letting someone else do the work for you. Be careful, because I have warned you before that this forum is not for your personal projects.
j2mcgreg wrote: Sat Dec 30, 2023 9:58 am What you are not getting is that there is an expectation here (and on every other Linux forum) that the people asking questions will have researched their problems first and that the questions being asked are pertinent to the forums where they are posed. Questions on shell scripting are outside the scope of the MX Linux Forums but shell scripting is a basic skill that most Linux users should have in their arsenals. There are plenty of resources on the internet to teach you the ins and outs of shell scripting and had you done your research, you surely would have encountered them. For instance here is an article on the best six free courses on this subject:
https://medium.com/javarevisited/6-free ... 0461ecd4fe
Pick one of them and start learning.