This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This script reads dlc files from a folder and adds the links to the DSM | |
* download station. Most code is copied from https://github.com/downtuned42/ds-dec. | |
* | |
* Usage: | |
* - Put the cron.php file in to the folder /volume1/php/cron.php on your DSM Nas | |
* - Adapt the parameters on the beginning of the file | |
* - Copy a dlc file to /volume1/shares/Downloads/ on your NAS | |
* - Run it on your SSH console like php /volume1/php/cron.php |
NewerOlder