Skip to main content

All Questions

Tagged with
0 votes
3 answers
7k views

Load login shell inside user cronjob

I'm trying to run a rake task using a scheduled cronjob. My crontab looks something like this: 0 1 * * 1-7 /bin/bash -l -c "cd ~/jobs/rake && rake reports:create >> ~/jobs/logs/cron.log"...
sa125's user avatar
  • 1,006