Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

djs not run when system-standby #14

Open
ibnusaja opened this issue Dec 29, 2021 · 2 comments
Open

djs not run when system-standby #14

ibnusaja opened this issue Dec 29, 2021 · 2 comments

Comments

@ibnusaja
Copy link

*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

@VR-25
Copy link
Owner

VR-25 commented Jan 9, 2022

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.

@George-Seven
Copy link

George-Seven commented Aug 31, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants