Magisk-Modules-Repo / djs

Daily Job Scheduler
https://github.com/VR-25/djs
GNU General Public License v3.0
44 stars 7 forks source link

Is there a way to run DJs command in each reboot? #3

Closed PranavBhattarai closed 5 years ago

PranavBhattarai commented 5 years ago

I use "Detach" module to detach playstore link of YouTube, so that it doesn't get update automatically because I have installed another module called "YouTube Vanced" which install as YouTube systemlessly.

Also I use "Scheduled power on/off" of phone settings from 1:30Am to 4:45Am. This causes, Detach module to not function properly and YouTube app get updated in playstore. And I have to factory reset the app to use Magisk's YouTube Vanced.

Question: How should I use ur module to apply detach each time I reboot? Regardless of what time it is? Cause we have "DJS" function baised on time, so...!?

(Consider this a feature request, if this is not possible yet.)

Screenshot_20190426-095451 Screenshot_20190426-095519 Screenshot_20190426-095610

VR-25 commented 5 years ago

"Run on boot" (regardless of time) is not supported, but it will be implemented.

VR-25 commented 5 years ago

Hi, The latest release can run scripts/commands on boot. djs-config --append boot "COMMANDS" - read the documentation for details. I can't tell what to run to detach YouTube on boot, as I don't use Detach. I do use YouTube Vanced - and I simply told Play Store to ignore YouTube updates.