TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-06-2012, 09:46 PM   #1 (permalink)
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default 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
captainmerton is offline  
Reply With Quote
Old 02-06-2012, 10:10 PM   #2 (permalink)
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 178
Thanks: 9
captainmerton is on a distinguished road
Default

Solved it. This article helped me:

http://www.sitepoint.com/introducing-cron/

Used wget to direct it to my domain name and just ran it as it would run if called by a browser.
captainmerton is offline  
Reply With Quote
Old 11-10-2012, 07:35 AM   #3 (permalink)
The Contributor
 
Join Date: Oct 2012
Posts: 46
Thanks: 0
ww628815 is on a distinguished road
Default

There are other affordable alternatives for anyone whose budget won't allow them to purchase a classic from your Big apple company. Many replicas and imitations of Tiffany Bracelets UK Sale are, actually, well-made and quite attractive. It could unfair to contact them "cheap" because copies may be desirable among many jewelry wearers. "Inexpensive" could possibly be a better label. In addition, women buy silver Tiffany Jewelry Sale as being a "substitute" for your higher-priced expensive jewelry items from Tiffany.
ww628815 is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux portable virtual machine skibbli The Lounge 0 11-24-2010 02:33 AM
Linux OS captainmerton General 12 09-09-2009 06:36 PM
Linux Thread? allworknoplay The Lounge 10 03-24-2009 12:29 AM
Since when, Linux? delayedinsanity The Lounge 13 08-26-2008 12:24 PM
Linux Ubuntu CMellor The Lounge 8 12-22-2007 10:33 AM


All times are GMT. The time now is 08:58 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design