mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 10:25:52 +00:00
update crontab example
This commit is contained in:
parent
1249e8d29c
commit
7c407e0d1f
@ -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
|
Loading…
x
Reference in New Issue
Block a user