Run a command at a specific time

后端 未结 5 709
闹比i
闹比i 2021-01-31 04:36

I\'m trying to run a command at a specific time. I\'ve looked at the \"at\" command, but I don\'t know how to get it working...

Here\'s what I do:

at 184         


        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 05:25

    You can echo your command into at as input:

    echo "/usr/bin/php /run/this/script.php" | at 18:43
    

提交回复
热议问题