Answer the question
In order to leave comments, you need to log in
Threads on Shell?
The task is as follows: during the execution of the script, you need to pull one command every 30 seconds (" xscreensaver-command -deactivate >&- 2>&- &
", if important). Ideally, I need fork (), but on a clean shell, I did not find how to implement it. I would like to do without bashisms and binding to a specific shell. There is only sh, dash, to be exact. Do not offer solutions with calling an external script and dynamically loading a special cron file, I myself will calmly write this, I need a solution to supplement the current script.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question