Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Efficiently executing a cron job on my webhosting server
- Date: Sat, 07 Jul 2007 08:11:30 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Efficiently executing a cron job on my webhosting server
- References: <7d27112b0707052020h293cbf71se22c91761135d686@mail.gmail.com>
- User-agent: Thunderbird 1.5.0.10 (X11/20070301)
> Also, I tried to simply access the PHP script directly (without > wget), because some information I read said that it would be possible > if "php was installed as a cgi". However, this doesn't seem to be > true on my webhost (assuming I tried to access it in the right way). Usually typing "php -v" at the commandline will tell you; if not found it means it is not installed. Not all web hosting services install the commandline version. > I changed the permissions to 777 just to get it working. But what is > the most appropriate permission setting for a PHP script I'm > intending to execute this way? If the cron job runs as your user (very likely) you can use chmod 700. If the same file also needs to be read by the web server you need to use 755. Darren
- Follow-Ups:
- Re: [tlug] Efficiently executing a cron job on my webhosting server
- From: steven smith
- References:
- [tlug] Efficiently executing a cron job on my webhosting server
- From: Dave Gutteridge
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [OT] Intel core duo errata
- Next by Date: Re: [tlug] [OT] Intel core duo errata
- Previous by thread: Re: [tlug] Efficiently executing a cron job on my webhosting server
- Next by thread: Re: [tlug] Efficiently executing a cron job on my webhosting server
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links