Welcome Guest, Not a member yet? Register   Sign In
A cronjob to extract the contents of a zip file into a DB.
#8

[eluser]Hockeychap[/eluser]
At the risk of teaching you to suck eggs, the home directory "~" depends upon the using starting the shell script.

So if it's running from crontab it will run as the user who's crontab it is. If you are triggering / executing the script from the web server the shell will run as the user of the web server process.

Cheers
Justin


Messages In This Thread
A cronjob to extract the contents of a zip file into a DB. - by El Forum - 02-16-2009, 07:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB