Bladeren bron

Version 0.6.0

Girish Ramakrishnan 8 jaren geleden
bovenliggende
commit
e0444fa90e
4 gewijzigde bestanden met toevoegingen van 10 en 3 verwijderingen
  1. 3 0
      CHANGELOG
  2. 1 1
      CloudronManifest.json
  3. 3 0
      DESCRIPTION.md
  4. 3 2
      index.php

+ 3 - 0
CHANGELOG

@@ -23,3 +23,6 @@
 [0.5.0]
 * Add phpMyAdmin
 
+[0.6.0]
+* Add cron support
+

+ 1 - 1
CloudronManifest.json

@@ -4,7 +4,7 @@
   "author": "Cloudron developers",
   "description": "file://DESCRIPTION.md",
   "tagline": "An empty LAMP stack (PHP 7)",
-  "version": "0.5.0",
+  "version": "0.6.0",
   "healthCheckPath": "/",
   "httpPort": 80,
   "manifestVersion": 1,

+ 3 - 0
DESCRIPTION.md

@@ -9,6 +9,9 @@ the Apache HTTP Server, the MySQL relational database management system (RDBMS),
 
 This app also bundles [ProFTPD](http://www.proftpd.org/) which provides `sftp://` access. Use your preferred ftp client to manage all files on the server. The `public` folder contains your PHP files. You will find `php.ini` at the root directory.
 
+### Cron
+
+This app supports running one or more cronjobs. The jobs are specified using the standard crontab syntax.
 
 ### Remote Terminal
 

+ 3 - 2
index.php

@@ -86,11 +86,12 @@ sftp -P 2222 surfer.nebulon.info:public/
 
 <h2>Cron</h2>
 <p>
-  Just put a file called crontab to the directory /app/data and it will picked up at next app restart. It has to be in the cron syntax without username.
-  For example, the following crontab updates feeds every hour:
+  Just put a file called crontab to the directory /app/data and it will picked up at next app restart. It has to be in the cron syntax without username
+  and must end with a newline. For example, the following crontab updates feeds every hour:
 </p>
 <pre>
 0 * * * * php /app/code/update.php --feeds
+
 </pre>
 <p>
   Commands are executed as the user www-data. See <a href="https://linux.die.net/man/5/crontab">manpage</a> for a description of the file.