|
|
|
@ -389,8 +389,5 @@ done |
|
|
|
|
next_expected_at=`curl -v https://cronitor.io/api/monitors/$CronitorJobName -u $CronitorKey:''|jq .next_expected_at` |
|
|
|
|
Request "curl -v -d chat_id=$chat_id -d text=\"以上就是$today日榜前${length}名作品,本次推送完毕,下次推送时间预计是`date -d @$next_expected_at '+%Y-%m-%d %H:%M:%S'`,如有问题请联系管理员。 #date$_today #日期$_today \" $baseApi/sendMessage" |
|
|
|
|
|
|
|
|
|
find -type f -mtime +7|grep html|xargs rm -f |
|
|
|
|
find -type f -mtime +7|grep json|xargs rm -f |
|
|
|
|
find -type f -mtime +7|grep webp|xargs rm -f |
|
|
|
|
find -type f -mtime +7|grep info|xargs rm -f |
|
|
|
|
find -type f -mtime +7 -name "*.webp" -o -name "*.html" -o -name "*.info" -o -name "*.json" -not -name $config_file|xargs rm -f |
|
|
|
|
DeleteMultipleObjects |