summaryrefslogtreecommitdiff
path: root/core/cli/info.md
diff options
context:
space:
mode:
Diffstat (limited to 'core/cli/info.md')
-rw-r--r--core/cli/info.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/cli/info.md b/core/cli/info.md
new file mode 100644
index 0000000..39f8c11
--- /dev/null
+++ b/core/cli/info.md
@@ -0,0 +1,23 @@
+# cli
+
+This section is used to setup an anom micro-framework for the cli-interface.
+The cli interface is commonly used to support and optimize the whole app.
+
+A cli script may run manualy, for example using...
+
+ php cli-cache.php
+
+although...
+
+it is recommended to run periodically using the cron service:
+
+ 15 * * * * php path/to/cli-cache.php
+
+or ...
+
+when a docker instanse of the project fires up; for example including
+the following line of code inside the docker/bin/docker-entrypoint.sh
+(runs the script after 5 minutes delay to make sure that the instance
+is up and running)
+
+ at -f /var/www/core/cli/refresh-cache.php -t now +5 minutes