Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cron permissions

Status
Not open for further replies.

Recordsetclown

Technical User
Jul 12, 2002
64
0
0
US
When I run a php program from its gui interface, it operates correctly. When run from cron, it works properly except that it fails to unlink and rewrite a batch configuration file (to update the last date/time run) saying permission denied.

Can anyone tell me how to get a this to run with my permissions?
 
AFAIK, you can define one crontab per user, so if you need your personal permission, edit your crontab; if you need root-permissions, you should
Code:
sudo su
crontab -e
Well - that would be the ubuntu-way. Maybe you got an explicit root account, and would login as root instead.

don't visit my homepage:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top