Skip to main content

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.

code:
cd apps/project/current
does not absolute path. may path under home directory, in case have full path it. example:
code:
cd /home/user/apps/project/current


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] crontab configuration


Ubuntu

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support