djs not run when system-standby
*sorry my English bad.
This my config djs
1815 /data/script/script.sh;
The script is running normaly, but sometime when the screen off, the script not running on time,
and when the screen comes back on, the script runs normally
This is a limitation of Android and/or Magisk. Whatever is in your script may not be available in sleep mode. The script must hold a wakelock in some way to ensure the environment is favorable.
I ran into the same issue and searched everywhere for a solution but there was none.
In the end, I thought of using the stock Android alarm app to hold the wake lock via a silent alarm and force close the alarm after script has finished running. I use sqlite3 to create/delete alarms as required by config.txt.