Browse Source

update crontab example

main
ghost 1 year ago
parent
commit
7c407e0d1f
  1. 19
      config/crontab.txt

19
config/crontab.txt

@ -1,20 +1,7 @@
@reboot searchd @reboot searchd
@reboot indexer --all --rotate @reboot indexer --all --rotate
# Required only with MEGAcmd/FTP storage enabled 30 0 * * * indexer --all --rotate
#
# 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
5 0 * * * indexer --all --rotate 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
0 1 * * * cd /YGGo/crontab && php cleaner.php > /dev/null 2>&1
* 2-23 * * * cd /YGGo/crontab && php crawler.php > /dev/null 2>&1
Loading…
Cancel
Save