search

Home  >  Q&A  >  body text

linux - scheduled task every minute cannot be executed

Liunx scheduled tasks, daily scheduled tasks can be executed, but tasks executed every minute by the liunx scheduled tasks are not executed. What is the reason? ? ? ? ? ? Ask God to specify. . . .

50 23 * sh /home/weblogic/yunwei_tool/crontab/backup_log.sh >/dev/null 2>&1 This scheduled task can be executed

1-59 sh /home/weblogic/yunwei_tool/crontab/start_time.sh >/dev/null 2>&1 This scheduled task cannot be executed

Each scheduled task can be executed manually.

漂亮男人漂亮男人2730 days ago838

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-06-05 11:13:41

    If you want to execute it once every minute, try changing it to */1 * * * *. I have never used the writing method of 1-59

    reply
    0
  • 某草草

    某草草2017-06-05 11:13:41

    How to write it, please send it and take a look.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-06-05 11:13:41

    The path of the program must be written completely, and you must have permission to execute it.

    reply
    0
  • Cancelreply