mirror of
https://github.com/kejilion/sh.git
synced 2025-10-03 23:34:20 +08:00
Update kejilion.sh
This commit is contained in:
parent
30d07701a1
commit
ad5fa085da
1 changed files with 2 additions and 0 deletions
|
@ -5302,6 +5302,7 @@ run_task() {
|
|||
|
||||
# 创建定时任务
|
||||
schedule_task() {
|
||||
send_stats "添加同步定时任务"
|
||||
|
||||
read -e -p "请输入要定时同步的任务编号: " num
|
||||
if ! [[ "$num" =~ ^[0-9]+$ ]]; then
|
||||
|
@ -5348,6 +5349,7 @@ view_tasks() {
|
|||
|
||||
# 删除定时任务
|
||||
delete_task_schedule() {
|
||||
send_stats "删除同步定时任务"
|
||||
read -e -p "请输入要删除的任务编号: " num
|
||||
if ! [[ "$num" =~ ^[0-9]+$ ]]; then
|
||||
echo "错误: 请输入有效的任务编号!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue