Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/previewgenerator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-03-15 00:03:16 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-15 00:03:16 +0300
commit03be88f9d5d55f2fd48bf6d4d1589463aa137c2d (patch)
tree38c5d4f3719b611454ac4f2ca060eb0c6be79249 /appinfo
parent3371d587e7f2434298f75847eb4e9026ab561fce (diff)
Add check for already running command
At the start and after each processed file we now write a value to the appconfig. This value is cleared on a successfull exit. If another run is started before the current run is finished we check if the latest activity is >30 minutes ago. If so we assume the process is dead. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 20f59df..5f11dfb 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -20,4 +20,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-$app = new \OCA\PreviewGenerator\AppInfo\Application('PreviewGenerator');
+$app = new \OCA\PreviewGenerator\AppInfo\Application('previewgenerator');