read me
This commit is contained in:
parent
b96f29bc49
commit
899d5793c6
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -5,3 +5,13 @@ This is a quickly hacked PHP script that will get the latests posts in your sqli
|
||||||
This was created for https://lacra.ia.br/
|
This was created for https://lacra.ia.br/
|
||||||
|
|
||||||
License is do what the fuck you want with this.
|
License is do what the fuck you want with this.
|
||||||
|
|
||||||
|
This just select the date of the most recently updated post. If it is more recent than a stamp file it updates *everything*. Not an issue for a few hundred posts but this might need optimisation in the future if this ever gets used on a larger scale to only update changed posts.
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
Edit config.php and put something like this in your cron tab
|
||||||
|
|
||||||
|
```
|
||||||
|
5 * * * * cd /home/lacraia/writefreely_to_gemini && php -f update_gmi_content.php > /home/lacraia/logs/gmi_update.log 2>&1
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue