Forums Search Login Register
Login
Username
Password
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users  Add Reply  Buggy Item
Stephen
 
1
[ubuntu] Execute a .php file via command line

Hi,

I have a php file that I need to execute via a cronjob. This file should be run by the www-data user as its a file in my /var/www/project folder.

When I run this file under root (php -f cron.php) everything works perfectly, but I want it to run under the www-data to be safe.

Before I...
11-16-2010, 07:40 AM
Reply
Subscribe to this thread Subscribed Users  Add Reply  Buggy Item


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  16.04.1 response to dig command????? ljackilawrhhhek 0 66 11-11-2016 04:43 PM
Last Post: ljackilawrhhhek
  Ubuntu 16.04 gdk-pixbuf issue "Unrecognized image file format" ftishabergers 0 129 10-25-2016 06:33 AM
Last Post: ftishabergers
  firefox wants to download a file PatrickSan1980 0 124 09-20-2016 02:00 AM
Last Post: PatrickSan1980
  [lubuntu] No audio after installing 16.04. File bug report? jamescraig 0 140 09-16-2016 11:01 AM
Last Post: jamescraig
  Systemd shell command via python subprocess returns non-zero exit status 127 JerrieKasica 0 124 08-24-2016 06:47 PM
Last Post: JerrieKasica
  [ubuntu] Question about 'add-apt-repository' command armani5596 0 141 03-25-2016 05:56 PM
Last Post: armani5596
  [ubuntu] Decreasing File Transfer Speeds over WLAN sbrantalvarmmoe 0 243 11-27-2014 09:49 AM
Last Post: sbrantalvarmmoe
  [ubuntu] Downloaded software won't action exe file itsmeamandaneode 0 312 09-07-2014 11:31 AM
Last Post: itsmeamandaneode
  [xubuntu] Command to install missing language packages. ftishabergers 0 658 08-21-2014 04:01 AM
Last Post: ftishabergers
  Grub command line on Boot JonelleStablein 0 453 02-21-2014 10:59 PM
Last Post: JonelleStablein

Forum Jump:



User(s) browsing this thread: 1 Guest(s)



Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2017