Daily Job Scheduler (DJS)

VR25

Magisk KernelSU APatch
v2021.12.14
Version
1.77 KB
Size
Dec 14, 2021
Updated

Module Info

  • Contributors VR-25, n-ce
  • Source Code View Repository
  • Tags
    #Daily Job Scheduler #DJS #VR25 #Automation #Cron #Task Scheduler #Magisk Module

About this module

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:

FileUse
djs_v2021.12.14_202112140.zipInstalls DJS. Choose this one.
djs-uninstaller.zipRemoves 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.sh at 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=; : --boot

Don't change the versionCode line at the top of the file.

Terminal commands

CommandWhat it does
djsc -a 2200 reboot -pAdds a schedule
djsc --delete 2200Deletes matching lines
djsc -l '^boot'Lists matching lines
djs-config --edit vimOpens the config in an editor
djsdStarts or restarts the daemon
djs.Stops the daemon

Daemon logs are at /dev/.vr25/djs/djsd.log.