From 792d99b77801aa21a68d68be6acb2ca18fcf46f7 Mon Sep 17 00:00:00 2001 From: powerAn <25736019+powerAn2020@users.noreply.github.com> Date: Thu, 13 Feb 2025 11:17:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E8=A1=8C=E6=97=A0=E6=95=88=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customize.sh | 6 +++--- update.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/customize.sh b/customize.sh index d380eb1..304ca0f 100644 --- a/customize.sh +++ b/customize.sh @@ -17,11 +17,11 @@ mkdir -p "${MODPATH}/system/xbin" { echo "#!/system/bin/sh" if [ "$KSU" = true ]; then - echo "/data/adb/ksu/bin/busybox crontab -c '${cronDataDir}' $@" + echo "/data/adb/ksu/bin/busybox crontab -c '${cronDataDir}'"' $@' elif [ "$APATCH" = true ]; then - echo "/data/adb/ap/bin/busybox crontab -c '${cronDataDir}' $@" + echo "/data/adb/ap/bin/busybox crontab -c '${cronDataDir}'"' $@' else - echo "/data/adb/magisk/busybox crontab -c '${cronDataDir}' $@" + echo "/data/adb/magisk/busybox crontab -c '${cronDataDir}'"' $@' fi } > "${MODPATH}/system/xbin/crontab" diff --git a/update.json b/update.json index cf79ecf..38a2359 100644 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { - "version": "1.0.1", - "versionCode": 101, + "version": "1.0.2", + "versionCode": 102, "zipUrl": "https://github.com/powerAn2020/crond4android/releases/download/1.0.1/crond4android_v1.0.1.zip", "changelog": "https://raw.githubusercontent.com/powerAn2020/crond4android/main/changelog.json" } \ No newline at end of file From d1486acb0d595654787825aa29755f4e34221eac Mon Sep 17 00:00:00 2001 From: powerAn <25736019+powerAn2020@users.noreply.github.com> Date: Thu, 13 Feb 2025 11:22:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AE=9E=E4=BE=8B?= =?UTF-8?q?=E5=92=8C=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ update.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 56aee81..e62de97 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,6 @@ crontab: `/system/xbin/crontab` ```shell # 创建任务 (也可以直接编辑文件) echo '30 4 * * * echo "" > /data/adb/crond/run.log' >> /data/adb/crond/root # for root user +# 查看任务 +crontab -l ``` diff --git a/update.json b/update.json index 38a2359..44e91d5 100644 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { "version": "1.0.2", "versionCode": 102, - "zipUrl": "https://github.com/powerAn2020/crond4android/releases/download/1.0.1/crond4android_v1.0.1.zip", + "zipUrl": "https://github.com/powerAn2020/crond4android/releases/download/1.0.2/crond4android_v1.0.2.zip", "changelog": "https://raw.githubusercontent.com/powerAn2020/crond4android/main/changelog.json" } \ No newline at end of file