Daily Job Scheduler (DJS)
DJS runs scripts and/or commands on boot or at set HH:MM (e.g, 23:59). Any root solution is supported. The installation is always “systemless”, whether or not the system is rooted with Magisk.
LICENSE
Copyright (C) 2019-2021, VR25
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
DISCLAIMER
Always read/reread this reference prior to installing/upgrading this software.
While no cats have been harmed, the author assumes no responsibility for anything that might break due to the use/misuse of it.
To prevent fraud, do NOT mirror any link associated with this project; do NOT share builds (tarballs/zips)! Share official links instead.
WARNING
The author assumes no responsibility under anything that might break due to the use/misuse of this software. By choosing to use/misuse it, you agree to do so at your own risk!
DONATIONS
Please, support the project with donations (links at the bottom). As the project gets bigger and more popular, the need for coffee goes up as well.
PREREQUISITES
- Android or Android based OS
- Any root solution (e.g., Magisk)
- Busybox* (only if not rooted with Magisk)
- Non-Magisk users can enable djs auto-start by running /data/adb/vr25/djs/service.sh, a copy of, or a link to it - with init.d or an app that emulates it.
- Terminal emulator
- Text editor (optional)
* A busybox binary can simply be placed in /data/adb/vr25/bin/. Permissions (0700) are set automatically, as needed. Precedence: /data/adb/vr25/bin/busybox > Magisk’s busybox > system’s busybox
Other executables or static binaries can also be placed in /data/adb/vr25/bin/ (with proper permissions) instead of being installed system-wide.
CONFIGURATION (/data/adb/vr25/djs-data/config.txt)
USAGE
If you feel uncomfortable with the command line, use a text editor
to modify /data/adb/vr25/djs-data/config.txt
.
Changes to this file take effect almost instantly, and without a daemon restart.
Terminal Commands
NOTES/TIPS FOR FRONT-END DEVELOPERS
Basics
DJS does not require Magisk. Any root solution is fine.
Use /dev/.vr25/djs/*
over regular commands.
These are guaranteed to be readily available after installation/upgrades.
It may be best to use long options over short equivalents - e.g., /dev/.vr25/djs/djs-config --list
, instead of /dev/.vr25/djs/djsc -l
.
This makes code more readable (less cryptic).
Include provided descriptions of DJS features/settings in your app(s). Provide additional information (trusted) where appropriate. Explain settings/concepts as clearly and with as few words as possible.
Initializing DJS
DJS is automatically initialized after installation/upgrades. It needs to be initialized on boot, too. If it’s installed as a Magisk module, this is done by Magisk itself. Otherwise, the front-end should handle it as follows:
/dev/
is volatile - meaning, a reboot/shutdown clears /dev/.acca/
and its contents.
That’s exactly what we want.
Of course, /dev/.acca/started
is just an example.
One can use any random path (e.g., .myapp/initialized
), as long as it’s under /dev/
and does not conflict with preexisting data.
WARNING: do not play with preexisting /dev/ data!
Doing so may result in data loss and/or other undesired outcome.
FREQUENTLY ASKED QUESTIONS (FAQ)
How do I report issues?
Open issues on GitHub or contact the developer on Telegram/XDA (linked below). Always provide as much information as possible.
Where do I find daemon logs?
/dev/.vr25/djs/djsd.log
NOOB FRIENDLY
Prequisites
- Magisk Rooted
- Root File Explorer & Text Editor
- Your Script to be executed
- Confidence
Steps
- Open the config.txt file at /data/adb/vr25/djs-data/
- Move to end of the text and create a new line
- Start with writing “boot” (without the quotations) if you want the script to executed on boot.
- Or Start with writing the time at which you want the script to run in HH:MM format. Ex. “21:30”.
- Now continue in the same line with a space and paste your script. You’re done.
Extras
- It is possible to Add “; : –delete” to the script if you want the script to run only for first boot.
- In case of time based command you can Add “; : –boot” to the script if you want the script to run also at boot.
LINKS
- Donate - Airtm, username: ivandro863auzqg
- Donate - Liberapay
- Donate - Patreon
- Donate - PayPal or Credit/Debit Card
- Facebook Page
- Telegram Channel
- Telegram Profile
- Upstream Repository
LATEST CHANGES
v2021.10.30 (202110300)
- General fixes & optimizations
v2021.11.3 (202111030)
- Fixed installation issues
- Improved support for the current Magisk canary.
v2021.12.14 (202112140)
- “Noob friendly” section by @n-ce;
- Updated build script;
- Updated links in the README.
Download link
Module Info
© 2025 Magisk Community