Crontab not running ruby script

后端 未结 5 850
眼角桃花
眼角桃花 2021-02-15 15:15

The crontab -l below doesn\'t seem to run. The script run by hand runs fine. Here is the error i\'m seeing

Dec  3 20:12:01 dahlia /USR/SBIN/CRON[13912]: (gigawat         


        
5条回答
  •  無奈伤痛
    2021-02-15 15:45

    I've gotten it working using

    * * * * * /bin/bash -l -c 'ruby my-ruby-file.rb'

提交回复
热议问题