02-06-2012, 09:46 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: May 2009
Posts: 178
Thanks: 9
|
Working with Cronjobs on Linux
I am trying to run cronjobs on my shared hosting server. I've built the jobs and was hoping to use the same framework and classes i use on my website by simply feeding in a Command using an MVC framework. However i am having issues in that the framework is built to run of a certain area of the server so when i "require_once" files in the framework that work ok when the code is called from the web it cant find the files. My knowledge of Linux, file directories and web servers is very limited. Is there a way i can almost hoodwink the framework into thinking its root is certain area of the file structure. If i feed in the entire file directory structure it will find the files but the framework wont work.
Dunno if i have made myself clear. Any help much appreciated.
Thanks,
Ewan
|
|
|
|