Browse Source

add MEGAcmd/FTP launch examples

main
ghost 2 years ago
parent
commit
f827c37691
  1. 13
      config/crontab.txt

13
config/crontab.txt

@ -1,6 +1,19 @@
@reboot searchd @reboot searchd
@reboot indexer --all --rotate @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
0 * * * * indexer --all --rotate 0 * * * * indexer --all --rotate
0 0 * * * cd /YGGo/crontab && php cleaner.php > /dev/null 2>&1 0 0 * * * cd /YGGo/crontab && php cleaner.php > /dev/null 2>&1

Loading…
Cancel
Save