Jump to content

crontab permission


hassank1

Recommended Posts

I've a problem .

I've made a PHP script and when I open it from my browser ex: www.mysite.....com/file.php

it worked normally ..

however when I try to open it in cron using the command wget www.mysite....com/file.php ..

 

the script don't execute and I got this cron output to my email

 

--2009-01-02 14:12:01-- http://*******/file.php

Resolving www.***... **.**.**.**

Connecting to ***|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 491 [text/html]

file.php: Permission denied

Cannot write to `file.php' (Permission denied).

 

Note : (I've hidded the address for security reasons)

Link to comment
https://forums.phpfreaks.com/topic/139193-crontab-permission/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.