From dd736c7923fa0f3650c2457ba15ebd7cf3b5b507 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 10 Jun 2023 00:19:27 +0300 Subject: [PATCH] crontab schedule optimization --- config/crontab.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/crontab.txt b/config/crontab.txt index ac371b3..2cf32f1 100644 --- a/config/crontab.txt +++ b/config/crontab.txt @@ -14,7 +14,7 @@ # @reboot /usr/bin/mega-cmd-server # @reboot /usr/bin/mega-ftp /REMOTE_PATH_TO/yggo/storage/snap -0 * * * * indexer --all --rotate +5 0 * * * indexer --all --rotate -0 0 * * * cd /YGGo/crontab && php cleaner.php > /dev/null 2>&1 -* * * * * cd /YGGo/crontab && php crawler.php > /dev/null 2>&1 \ No newline at end of file +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