#!/bin/bash
read -p "请输入分钟信息(00-59):" min
read -p "请输入小时信息(00-24):" hour
read -p "请输入日期信息(01-31):" date
read -p "请输入月份信息(01-12):" month
read -p "请输入星期信息(00-06):" weak
read -p "请输入计划任务需要执行的命令或脚本:" program
echo "$min $hour $date $month $weak $program" >> /etc/crontab

相关文章:

  • 2022-12-23
  • 2021-05-24
  • 2022-12-23
  • 2022-03-04
  • 2021-07-25
  • 2021-12-10
猜你喜欢
  • 2021-06-01
  • 2021-11-12
  • 2022-12-23
  • 2021-11-18
相关资源
相似解决方案