【问题标题】:Error while runnnig whenever --update-crontab运行时出错 --update-crontab
【发布时间】:2013-08-14 19:17:33
【问题描述】:


我是 cron 工作的新手。运行时出现以下错误 --update-crontab。

C:\RailsProject>whenever --update-crontab
The system cannot find the path specified.
running cron_job scheduler at Tue Aug 13 14:16:09 +0530 2013
[fail] Couldn't write crontab; try running `whenever' with no options to ensure your schedule file is valid.

请任何人帮助我。

Thnks in Advanced。

【问题讨论】:

    标签: ruby-on-rails ruby cron scheduler


    【解决方案1】:

    不幸的是,whenever gem 只能在 *nix 系统(Linux、Mac OSX、BSD...)上运行,而不能在 Windows 上运行。

    请参阅https://stackoverflow.com/a/6784889/1065703 了解 Windows 系统上的替代方案。

    【讨论】:

      猜你喜欢
      • 2016-12-18
      • 2012-05-14
      • 1970-01-01
      • 1970-01-01
      • 2019-04-30
      • 1970-01-01
      • 2019-10-23
      • 1970-01-01
      • 2016-01-15
      相关资源
      最近更新 更多