CrazyAwesomeCompany / autophing

Automatic Phing targets
13 stars 4 forks source link

Add sudo option to cron target #4

Closed RobQuistNL closed 10 years ago

RobQuistNL commented 10 years ago

This cron task fails on some servers whereas the cron location is for root users only. Even reading the directory is impossible and thus the phing target fails;

[phingcall] No read access to /etc/cron.d
       [if] Error in IfTask
Execution of target "cron-deploy" failed for the following reason: Execution of the target buildfile failed. Aborting.
[phingcall] Execution of the target buildfile failed. Aborting.
jvandijk commented 10 years ago

@RobQuistNL could you please add some documentation here as well regarding the usage in combination with how you need to define your sudoers file?