Re: Now Fixed remote direct file server not deleting files
Hi taynanbonin6045 i have now got this to work with the help of adam every thing i had setup was working just fine the only thing i did not setup was this part in the file server its self
On Any External File Servers (if you're using 'direct' file server storage)
0 3 * * * php /path/to/your/yetishare/admin/tasks/delete_redundant_files.cron.php >> /dev/null 2>&1
*/5 * * * * php /path/to/your/yetishare/admin/tasks/process_file_queue.cron.php >> /dev/null 2>&1
change /path/to/your/yetishare to the right path of your YetiShare install folder
this is my set up
0 3 * * * php /var/www/html/admin/tasks/delete_redundant_files.cron.php >> /dev/null 2>&1
*/5 * * * * php /var/www/html/admin/tasks/process_file_queue.cron.php >> /dev/null 2>&1
now in your _config.inc.php on the file server its self not the main server one
/* main configuration file for script */
define("_CONFIG_SITE_HOST_URL", "Must be the url of the file server");
define("_CONFIG_SITE_FULL_URL", "Must be the url of the file server");
and
/* set these to the main site host if you're using direct web server uploads/downloads to remote servers */
define("_CONFIG_CORE_SITE_HOST_URL", "Must be the url of the main server");
define("_CONFIG_CORE_SITE_FULL_URL", "Must be the url of the main server");
now in your admin panel under site settings then Site Options look for
How long to keep deleted files for on the server. On delete via the script UI they are moved into /files/_deleted/ then purged after this period. Useful for recovery if needed. Set in minutes. Default 24 hours, so 1440.
and set it to the number 2 for testing
and that's all i did and it started working for me