diff --git a/config/crontab.txt b/config/crontab.txt index 2cf32f1..9e35161 100644 --- a/config/crontab.txt +++ b/config/crontab.txt @@ -1,20 +1,7 @@ @reboot searchd @reboot indexer --all --rotate -# Required only with MEGAcmd/FTP storage enabled -# -# config/app.php.txt -# -# CRAWL_PAGE_MIME_SNAP_MEGA -# -# MEGA_FTP_HOST -# MEGA_FTP_PORT -# MEGA_FTP_DIRECTORY -# -# @reboot /usr/bin/mega-cmd-server -# @reboot /usr/bin/mega-ftp /REMOTE_PATH_TO/yggo/storage/snap +30 0 * * * indexer --all --rotate -5 0 * * * indexer --all --rotate - -0 1 * * * cd /YGGo/crontab && php cleaner.php > /dev/null 2>&1 -* 2-23 * * * cd /YGGo/crontab && php crawler.php > /dev/null 2>&1 \ No newline at end of file +0 0 * * * /usr/bin/php /{PATH}/YGGo/crontab/cleaner.php >> /{PATH}/cleaner.log 2>&1 +* 1-23 * * * /usr/bin/php /{PATH}/YGGo/crontab/crawler.php >> /{PATH}/crawler.log 2>&1 \ No newline at end of file