From 3fddb5836efe01910c12684cd45e15ceb2a58a46 Mon Sep 17 00:00:00 2001 From: Rutger van Deelen Date: Fri, 29 Mar 2019 13:29:08 +0100 Subject: [PATCH] Change .webhooks to .webhook --- docs/instructions.md | 4 ++-- internal/server/server.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/instructions.md b/docs/instructions.md index 61312f1..1e32b96 100644 --- a/docs/instructions.md +++ b/docs/instructions.md @@ -78,14 +78,14 @@ There should be a green tickmark. Login to a mentat machine of choice, for example `mentat005.dccn.nl`. -Go to your webhook results folder `/home/dccngroup/dccnuser/.webhooks/5126d168-e3f1-4c7f-b228-a57fbaf007c4`. +Go to your webhook results folder `/home/dccngroup/dccnuser/.webhook/5126d168-e3f1-4c7f-b228-a57fbaf007c4`. Run `qstat` to check if your submitted job is queued, running or completed. Once the script is finished you should have two text files in this result folder, for example: ``` -$ cd ~/.webhooks/5126d168-e3f1-4c7f-b228-a57fbaf007c4 +$ cd ~/.webhook/5126d168-e3f1-4c7f-b228-a57fbaf007c4 $ ls -1 payload diff --git a/internal/server/server.go b/internal/server/server.go index fb0e4c3..a0eda41 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -8,9 +8,9 @@ import ( // Setup of user's workspace directories and files const ( - WebhooksWorkDir = ".webhooks" // WebhooksWorkDir denotes the user's work directory - PayLoadName = "payload" // PayLoadName is the name of the payload file in user's work directory - ScriptName = "script" // ScriptName is the name of the script in the user's work directory + WebhooksWorkDir = ".webhook" // WebhooksWorkDir denotes the user's work directory + PayLoadName = "payload" // PayLoadName is the name of the payload file in user's work directory + ScriptName = "script" // ScriptName is the name of the script in the user's work directory ) // API is used to store the database pointer