Skip to content

Commit

Permalink
修复 crontab 环境变量问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mokeyjay committed Nov 23, 2023
1 parent c8a3e18 commit e5ef49e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Both APIs automatically return the respective cross-domain header according to `
### Other
- Removed the `static_cdn` configuration option due to the removal of the dependency on Bootstrap.
- Removed the invalid `Pngcm` and `Tsesze` image-hosting
- Docker image migration to [ghcr.io](https://github.com/mokeyjay/Pixiv-daily-ranking-widget/pkgs/container/pixiv-daily-ranking-widget)

[History](https://github.com/mokeyjay/Pixiv-daily-ranking-widget/blob/master/doc/log.en.md)

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
- 改为使用官方 php、nginx 包
### 其他
- 由于不再依赖 bs,去除 `static_cdn` 配置项
- 删除已经失效的 `Pngcm``Tsesze` 图床
- Docker 镜像迁移至 [ghcr.io](https://github.com/mokeyjay/Pixiv-daily-ranking-widget/pkgs/container/pixiv-daily-ranking-widget)

[历史更新日志](https://github.com/mokeyjay/Pixiv-daily-ranking-widget/blob/master/doc/log.md)

Expand Down
4 changes: 2 additions & 2 deletions docker/crontab
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
30 * * * * cd /var/www/html/ && /usr/local/bin/php index.php -j=refresh
30 1 * * * cd /var/www/html/ && /usr/local/bin/php index.php -j=clear-log
30 * * * * source /etc/profile; cd /var/www/html/ && /usr/local/bin/php index.php -j=refresh
30 1 * * * source /etc/profile; cd /var/www/html/ && /usr/local/bin/php index.php -j=clear-log
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* 项目:Pixiv每日排行榜小挂件
* 版本:5.2
* 项目:Pixiv 每日排行榜小挂件
* 版本:5.3
* 作者:mokeyjay
* 博客:https://www.mokeyjay.com
* 源码:https://github.com/mokeyjay/Pixiv-daily-ranking-widget
Expand Down

0 comments on commit e5ef49e

Please sign in to comment.