javan/whenever — Issue #212: Setting crontab for another user
Author: tispratik
Created: 2012-01-31 19:37:52+00:00
State: open

I was wondering if we can have an option to tell capistrano to set the crontab entry for another user.
I want to set a particular crontab entry to be run as apache user, but the deployment user is different and has sudo privileges.

Setting :user option did not set the crontab of apache user.

````
every 1.day do
rake "my_task", :user => "apache"
end
````