Daily Job Scheduler (DJS) by VR25 runs scripts and commands on boot or at a set time of day. It's a small cron-like daemon that you control through one text file. The README says it supports any root solution.
Which file to download
This page lists two files, and the first one is not the installer:
| File | Use |
|---|---|
djs_v2021.12.14_202112140.zip | Installs DJS. Choose this one. |
djs-uninstaller.zip | Removes DJS. |
Flash the install zip in your root manager and reboot. The latest release is from December 2021. The developer asks people to share official links rather than mirroring builds.
Requirements
- Any root solution, and a terminal or text editor.
- If you don't use Magisk, you need BusyBox. You can put the binary in
/data/adb/vr25/bin/. - Also without Magisk, run
/data/adb/vr25/djs/service.shat boot, with init.d or an app that emulates it, to start DJS automatically.
Writing schedules
Schedules go in /data/adb/vr25/djs-data/config.txt, one per line, and changes apply almost instantly with no restart. Start a line with boot or a time in HHMM format. Lines that don't match are ignored.
# Power off at 22:00
2200 reboot -p
# Run once on the next boot, then delete this line
boot touch /data/I-was-born-on-boot; : --delete
# Run at 06:00, and on boot too
0600 acc pc=75 rc=70 mcc= mcv=; : --bootDon't change the versionCode line at the top of the file.
Terminal commands
| Command | What it does |
|---|---|
djsc -a 2200 reboot -p | Adds a schedule |
djsc --delete 2200 | Deletes matching lines |
djsc -l '^boot' | Lists matching lines |
djs-config --edit vim | Opens the config in an editor |
djsd | Starts or restarts the daemon |
djs. | Stops the daemon |
Daemon logs are at /dev/.vr25/djs/djsd.log.