update crontab example

This commit is contained in:
ghost 2023-08-03 08:34:51 +03:00
parent 1249e8d29c
commit 7c407e0d1f

View File

@ -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
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