Thread: crontab configuration
i having trouble getting crontab going on server. have rake task ruby on rails application done cron.
here command:
*/59 * * * * cd apps/project/current && rake thinking_sphinx:index rails_env=production
here log:
cron[2969]: (user) cmd (cd apps/project/current && rake thinking_sphinx:index rails_env=production)
can cut , past command, excluding parenthesis, , rake task runs fine.
does not absolute path. may path under home directory, in case have full path it. example:code:cd apps/project/current
code:cd /home/user/apps/project/current
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] crontab configuration
Ubuntu
Comments
Post a Comment