Cron job not working in Whenever gem

后端 未结 4 2325
轮回少年
轮回少年 2020-12-04 10:35

I have an application that contains a bunch of tasks, and every day I want to run a cron job that creates a DayTask for each Task in the database. A Task has_many DayTasks a

4条回答
  •  悲&欢浪女
    2020-12-04 11:00

    Try to execute the whenever generated command directly from terminal or add the following line MAILTO=your@emailadress.com to your crontab.

提交回复
热议问题