vr-25 / djs Goto Github PK
View Code? Open in Web Editor NEWDaily Job Scheduler
Home Page: https://github.com/Magisk-Modules-Repo/djs
License: GNU General Public License v3.0
Daily Job Scheduler
Home Page: https://github.com/Magisk-Modules-Repo/djs
License: GNU General Public License v3.0
Now that djs-data/
folder goes under vr25/
directory, one should edit the README to replace all the occurences.
The default-config.txt
still delivers the old version code 201908180 while /data/adb/vr25/djs/module.prop
suggests 202108091.
Hi,
Thanks for this awesome module.
Is it possible to add the ability to execute scripts every certain time?
For example,
I want to execute script every 1 minute. And so, I have to add 1440 lines to config.txt. A little big :)
The version of DJS available through Magisk is still 2019.7.1 which is outdated and has a major security issue. That version stores the config file in /sdcard
, which essentially gives any app on the device with storage access full root permissions (since they can modify the djs config file to add whatever commands they want, which will be run as root). This is fixed in 2019.10.18, which moves the config file to /data/adb/djs-data/
, and also adds a variety of other improvements.
Please either update the version of DJS available through Magisk to the latest version, or remove it from the Magisk Repo entirely and make it only available here.
I'm running WSL and invoked build.sh as described in the README:
$ sh build.sh
build.sh: 8: .: check-syntax.sh: not found
$ ./build.sh
./build.sh: 8: .: check-syntax.sh: not found
$ ls -l which sh
lrwxrwxrwx 1 root root 4 Apr 16 23:52 /bin/sh -> dash
This can be fixed by adding a directory: change . check-syntax.sh
to . ./check-syntax.sh
, since that syntax is supported.
Hi,
you recommend the Magisk module but its a version behind. For any good reason?
I'd like to try the new version because I have troubles getting boot lines to work, specifically boot ip rule add from all lookup main pref 1
. When I schedule the same command at a specific time it successfully gets executed. Magisk log shows djs: exec [service.sh]
followed by ** boot_complete triggered
. Would appreciate any help, even just a push in the right direction.
after reboot djsd-status return 1 not a pid
The title speaks for itself. I don't think it needs more description. :D
I'm running the xiaomi.eu ROM (Android 11) on a Xiaomi Poco F2 Pro device. When I install DJS as a Magisk module, the operation completes without error. However, after rebooting there is no djs
command. Having read some of the scripts, I can see the the software is trying to modify /sbin, which doesn't exist. The command to create /sbin
fails. Would it be possible to initialize using another directory? I am using other root software such as ACC and AccA successfully.
I see that /sbin is hard coded in some places, but other parts of the scripts will check the existence of different paths, such as the logic that sets $installDir
in install.sh
. I gather this is because some pieces of data are assumed to always reside in /sbin, while others are more flexible. Is there anything I can do to help test or debug this?
I use Fox's Magisk Modules Manager to update modules. Would you, please, regularly update your module in the repo mentioned in the title so that the current release is available there?
Thanks.
Here is my config.txt
:
versionCode=201908180
boot setenforce 1
It used to work with version 201910180.
Even adding this line:
1235 touch /mnt/sdcard/Download/touch.txt; : --delete
it makes no effect; it even remains in the config file when it should have been deleted.
However, I can edit the config file with the command line.
I tried to uninstall and install it again but that does not make it work.
I am using Magisk.
I don't know how to debug this.
Hello,
I've installed this module by the book (with Magisk), all seems ok, daemon running, config file edited accordingly, commands working when I execute them in the terminal. But, it just doesn't work.
I have no idea what's wrong.
Apologies if I posted in the wrong section.
Regards
here is my djs.conf
versionCode=201906290
boot /data/local/tmp/atx-agent server -d
in this case, not working, how can i fix?
⚙⚙⚙⚙⚙
Fresh install causing missing djs binary, and service failed to run jobs.
install log
https://paste.debian.net/1306351/
lrwxrwxrwx 1 root root 19 2024-02-04 14:31 djs, -> /dev/.vr25/djs/djs,
lrwxrwxrwx 1 root root 25 2024-02-04 14:31 djs-config -> /dev/.vr25/djs/djs-config
lrwxrwxrwx 1 root root 25 2024-02-04 14:31 djs-daemon -> /dev/.vr25/djs/djs-daemon
lrwxrwxrwx 1 root root 25 2024-02-04 14:31 djs-status -> /dev/.vr25/djs/djs-status
lrwxrwxrwx 1 root root 23 2024-02-04 14:31 djs-stop -> /dev/.vr25/djs/djs-stop
lrwxrwxrwx 1 root root 26 2024-02-04 14:31 djs-version -> /dev/.vr25/djs/djs-version
lrwxrwxrwx 1 root root 19 2024-02-04 14:31 djs. -> /dev/.vr25/djs/djs.
lrwxrwxrwx 1 root root 19 2024-02-04 14:31 djsc -> /dev/.vr25/djs/djsc
lrwxrwxrwx 1 root root 19 2024-02-04 14:31 djsd -> /dev/.vr25/djs/djsd
lrwxrwxrwx 1 root root 19 2024-02-04 14:31 djsd, -> /dev/.vr25/djs/djs,
lrwxrwxrwx 1 root root 19 2024-02-04 14:31 djsd. -> /dev/.vr25/djs/djs.
lrwxrwxrwx 1 root root 23 2024-02-04 14:31 djsd.log -> /dev/.vr25/djs/djsd.log
lrwxrwxrwx 1 root root 19 2024-02-04 14:31 djsv -> /dev/.vr25/djs/djsv
Hi! I'd like to suggest to add days of the week to the schedule. For example:
MON1147 - is to run scripts at 11:47 every Monday
Simple thing, I guess it doesn't work yet but it would be nice to be able to use *s also in the times thing.
I recently update my phone to Android 11 and commands line don't work too. The module can't be recognized by the system as it doesn't seem installed
Hi,
Thanks for this awesome module. Is it possible to add an option for executing scripts upon shutting down or rebooting the system?
*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
Hello, thanks for this module.
Looking at the source code and logs this module checks every 20 seconds if there is something to execute.
Does that not cause battery drain?
If so, would it be possible to make it sleep to the next task? This would have the drawback of having to wait a 24-hour hour cycle or having to reboot depending one when you add a script
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.