My html directory is becoming bloated so I am trying to reorganize the files. I have a few scripts that I have running on a cron job and I want to move them out of the html directory.
For example:
cronjob: php /chroot/home/mydomain/html/restock.php
restock.php:
<?php
require_once('app/Mage.php');
umask(0);
Mage::app();
my script
?>
What I would like is a directory called 'myscripts' or similar and have all my scripts sitting in there. My question is what is the best practice for this and also how would I modify my php scripts and cronjob???