diff --git a/src/Command/DaemonCommand.php b/src/Command/DaemonCommand.php
index 17f544b..7e46a4c 100644
--- a/src/Command/DaemonCommand.php
+++ b/src/Command/DaemonCommand.php
@@ -56,14 +56,19 @@ class DaemonCommand extends Command
$jobsToRun = $jobRepo->getJobsDue();
if(!empty($jobsToRun)) {
foreach($jobsToRun as $key=>$job) {
- if($job->getData('crontype') == 'reboot') {
- $str = @file_get_contents('/proc/uptime');
- $num = floatval($str);
+ if ($job->getData('crontype') == 'reboot') {
+ $str = @file_get_contents('/proc/uptime');
+ $num = floatval($str);
$rebootedself = ($num < $job->getData('reboot-duration') * 60);
$consolerun = $jobRepo->getTempVar($job, 'consolerun', false);
- if($consolerun && !$rebootedself) continue;
+ if ($consolerun && !$rebootedself) continue;
}
- $manual = ($job->getRunning() > 1);
+ $manual = '';
+ if($jobRepo->getTempVar($job, 'webhook', false)) {
+ $manual = 'Webhook';
+ } elseif($job->getRunning() > 1) {
+ $manual = 'Manual';
+ };
$jobRepo->setJobRunning($job, true);
$output->writeln('Running Job ' . $job->getId());
if($async) {
diff --git a/src/Command/DemoInstallCommand.php b/src/Command/DemoInstallCommand.php
index 8716262..18264e0 100755
--- a/src/Command/DemoInstallCommand.php
+++ b/src/Command/DemoInstallCommand.php
@@ -86,6 +86,7 @@ class DemoInstallCommand extends Command
false,
]
]);
+ $job1->addToken();
$job2 = $jobRepo->prepareJob([
'name' => '[Website] Update texts to latest version',
@@ -111,6 +112,8 @@ class DemoInstallCommand extends Command
true,
]
]);
+ $job2->addToken();
+
$job3 = $jobRepo->prepareJob([
'name' => '[Server][Reboot] Monthly reboot',
'interval' => (60*60*24*30),
@@ -136,6 +139,8 @@ class DemoInstallCommand extends Command
'var-issecret' => [
]
]);
+ $job3->addToken();
+
$em->persist($job1);
$em->persist($job2);
$em->persist($job3);
@@ -220,6 +225,15 @@ rtt min/avg/max/mdev = 101.362/101.362/101.362/0.000 ms')
->setFlags(RunRepository::SUCCESS);
$em->persist($run);
+ $run = new Run();
+ $run->setExitcode(200)
+ ->setJob($job2)
+ ->setRuntime(rand(0, 10000) / 1000)
+ ->setOutput(json_encode(['success' => true, 'message' => 'Texts are updated succesfully']))
+ ->setTimestamp(7200 * ceil( time() / 7200) - (3542))
+ ->setFlags(RunRepository::SUCCESS . RunRepository::TRIGGERED);
+ $em->persist($run);
+
$run = new Run();
$run->setExitcode(200)
->setJob($job2)
diff --git a/src/Controller/JobController.php b/src/Controller/JobController.php
index 09aef0d..a787c9a 100644
--- a/src/Controller/JobController.php
+++ b/src/Controller/JobController.php
@@ -117,6 +117,7 @@ class JobController extends AbstractController
$jobRepo = $doctrine->getRepository(Job::class);
$job = $jobRepo->find($id);
if(!empty($job->getToken()) && $job->getToken() == $token && $job->getRunning() != 1) {
+ $jobRepo->setTempVar($job, 'webhook', true);
return new JsonResponse($jobRepo->run($job, false, time()));
}
diff --git a/src/Repository/JobRepository.php b/src/Repository/JobRepository.php
index 9e5fe9b..1ec2d4f 100644
--- a/src/Repository/JobRepository.php
+++ b/src/Repository/JobRepository.php
@@ -317,7 +317,7 @@ class JobRepository extends EntityRepository
* @return array|string[]
* @throws \Doctrine\DBAL\Exception
*/
- private function runRebootJob(Job &$job, float &$starttime, bool &$manual): array
+ private function runRebootJob(Job &$job, float &$starttime, string &$manual): array
{
$em = $this->getEntityManager();
if($this->getTempVar($job, 'rebooting', false) === false) {
@@ -463,7 +463,7 @@ class JobRepository extends EntityRepository
* @return array|string[]
* @throws \Doctrine\DBAL\Exception
*/
- public function runJob(Job &$job, bool $manual): array
+ public function runJob(Job &$job, string $manual): array
{
$em = $this->getEntityManager();
$starttime = microtime(true);
@@ -486,8 +486,10 @@ class JobRepository extends EntityRepository
$flags[] = RunRepository::SUCCESS;
}
- if ($manual === true) {
+ if ($manual == 'Manual') {
$flags[] = RunRepository::MANUAL;
+ } elseif ($manual == 'Webhook') {
+ $flags[] = RunRepository::TRIGGERED;
}
// Remove secrets from output
diff --git a/src/Repository/RunRepository.php b/src/Repository/RunRepository.php
index 775e239..b4eb36e 100644
--- a/src/Repository/RunRepository.php
+++ b/src/Repository/RunRepository.php
@@ -14,6 +14,7 @@ class RunRepository extends EntityRepository
const FAILED = 'F';
const SUCCESS = 'S';
const MANUAL = 'M';
+ const TRIGGERED = 'T';
public function getRunsForJob(Job $job, bool $onlyfailed = false, int $maxage = NULL, bool $ordered = true): array
{
diff --git a/templates/job/view.html.twig b/templates/job/view.html.twig
index c2081f5..85072b0 100644
--- a/templates/job/view.html.twig
+++ b/templates/job/view.html.twig
@@ -19,6 +19,8 @@
({{ "job.view.results.exitcode"| trans }}: {{ run.exitcode }} | {{ "job.view.results.runtime"| trans }}: {{ run.runtime | interval }})
{% if 'M' in run.flags %}
{{ "job.view.results.manual"| trans }}
+ {% elseif 'T' in run.flags %}
+ {{ "job.view.results.webhook"| trans }}
{% endif %}
diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf
index fab062d..cefa871 100644
--- a/translations/messages.en.xlf
+++ b/translations/messages.en.xlf
@@ -637,6 +637,10 @@
Webhook URL
+
+
+ Triggered run
+
- W3bcr0n m4n4g3m3nt
+ W3bcr0n m4n4g3m3nt
- W3bcr0n m4n4g3m3nt
+ W3bcr0n m4n4g3m3nt
- d1z 4ppL1c4t10n b 1n d3m0 m0d3. Ch4ng3z 1z p3rs1st3d 1n t3h d4t4b4s3, but j0bz 1z n0t b31n' 3x3cut3d
+ d1z 4ppL1c4t10n b 1n d3m0 m0d3. Ch4ng3z 1z p3rs1st3d 1n t3h d4t4b4s3, but j0bz 1z n0t b31n' 3x3cut3d
- L0g1n 4 d3m0 m0d3
+ L0g1n 4 d3m0 m0d3
- Us3rn4m3
+ Us3rn4m3
- P4ssw0rd
+ P4ssw0rd
- 0v3rv13w
+ 0v3rv13w
- 4dd @ n3w cr0nj0b
+ 4dd @ n3w cr0nj0b
- S3tt1ngz
+ S3tt1ngz
- L0g0ut
+ L0g0ut
- Us3rn4m3
+ Us3rn4m3
- j3r03n@h4x0r.L33t
+ j3r03n@h4x0r.L33t
- P4ssw0rd
+ P4ssw0rd
- C0rr3ct H0rs3 B4tt3ry St4pL3
+ C0rr3ct H0rs3 B4tt3ry St4pL3
- D0 n0t f0rg3t
+ D0 n0t f0rg3t
- 3nt3r
+ 3nt3r
- S3tt1ngz
+ S3tt1ngz
- S3tt1ngz
+ S3tt1ngz
- L0c4L3 d03z n0t 3x1st
+ L0c4L3 d03z n0t 3x1st
- L0c4L3 b s4v3d
+ L0c4L3 b s4v3d
- P4ssw0rdz 1z n0t 3qu4L
+ P4ssw0rdz 1z n0t 3qu4L
- P4ssw0rd b n0t c0rr3ct
+ P4ssw0rd b n0t c0rr3ct
- P4ssw0rd b s4v3d
+ P4ssw0rd b s4v3d
- P4ssw0rd
+ P4ssw0rd
- Curr3nt p4ssw0rd
+ Curr3nt p4ssw0rd
- qwerty
+ qwerty
- N3w p4ssw0rd
+ N3w p4ssw0rd
- azerty
+ azerty
- R3p34t p4ssw0rd
+ R3p34t p4ssw0rd
- azerty
+ azerty
- 0th3r s3tt1ngz
+ 0th3r s3tt1ngz
- L0c4L3
+ L0c4L3
- Subm1t
+ Subm1t
- 0v3rv13w
+ 0v3rv13w
- 0v3rv13w 0f t3h cr0nj0bz
+ 0v3rv13w 0f t3h cr0nj0bz
- N4m3
+ N4m3
- H0st
+ H0st
- 1nt3rv4L
+ 1nt3rv4L
- N3xtrun
+ N3xtrun
- Cr0nj0b b succ3ssfuLLy d3L3t3d
+ Cr0nj0b b succ3ssfuLLy d3L3t3d
- 0v3rv13w 0f runz 4 _jobname_
+ 0v3rv13w 0f runz 4 _jobname_
- 0v3rv13w 0f runz 4 _jobname_
+ 0v3rv13w 0f runz 4 _jobname_
- 3d1t j0b
+ 3d1t j0b
- 0nLy sh0w f41L3d runz
+ 0nLy sh0w f41L3d runz
- Sh0w 4LL runz
+ Sh0w 4LL runz
- 3x1t c0d3
+ 3x1t c0d3
- Runt1m3
+ Runt1m3
- M4nu4L run
+ M4nu4L run
- N0 f41L3d runz f0und
+ N0 f41L3d runz f0und
- N0 runz f0und
+ N0 runz f0und
- 3d1t j0b
+ 3d1t j0b
- 3d1t j0b _jobname_
+ 3d1t j0b _jobname_
- Cr0nj0b b succ3ssfuLLy d3L3t3d
+ Cr0nj0b b succ3ssfuLLy d3L3t3d
- 4dd j0b
+ 4dd j0b
- 4dd n3w j0b
+ 4dd n3w j0b
- Cr0nj0b succ3ssfuLLy 4dd3d
+ Cr0nj0b succ3ssfuLLy 4dd3d
- G3n3r4L 1nf0
+ G3n3r4L 1nf0
- N4m3
+ N4m3
- Syst3m upd4t3
+ Syst3m upd4t3
- j00 c4n cr34t3 c0L0r3d t4gz by us1n' [t4g]
+ j00 c4n cr34t3 c0L0r3d t4gz by us1n' [t4g]
- 1nt3rv4L (1n s3c0ndz)
+ 1nt3rv4L (1n s3c0ndz)
- 3600
+ 3600
- P4tt3rnz
+ P4tt3rnz
- 3v3ry m1nut3
+ 3v3ry m1nut3
- 3v3ry h0ur
+ 3v3ry h0ur
- 3v3ry d4y
+ 3v3ry d4y
- 3v3ry w33k
+ 3v3ry w33k
- 3v3ry 4 w33kz
+ 3v3ry 4 w33kz
- N3xt run
+ N3xt run
- L4st run
+ L4st run
- 3t3rn4L
+ 3t3rn4L
- R3t3nt10n (1n d4yz)
+ R3t3nt10n (1n d4yz)
- 180
+ 180
- H0w m4ny d4yz (4t l34st) 2 k33p runz 0f d1z j0b 1n t3h d4t4b4s3
+ H0w m4ny d4yz (4t l34st) 2 k33p runz 0f d1z j0b 1n t3h d4t4b4s3
- M4x f41L p3rc3nt4g3
+ M4x f41L p3rc3nt4g3
- Numb3r 0f d4yz c4LcuL4t3d 4 f41L p3rc3nt4g3
+ Numb3r 0f d4yz c4LcuL4t3d 4 f41L p3rc3nt4g3
- 7
+ 7
- H0st l4b3L
+ H0st l4b3L
- N3wb13 s3rv3r
+ N3wb13 s3rv3r
- Wh1ch l4b3L 4 t3h h0stn4m3 sh0uLd b d1spL4y3d? 1f 3mpty t3h d1z w1LL b t3h h0stn4m3 pr0v1d3d b3L0w
+ Wh1ch l4b3L 4 t3h h0stn4m3 sh0uLd b d1spL4y3d? 1f 3mpty t3h d1z w1LL b t3h h0stn4m3 pr0v1d3d b3L0w
- J0b d3t41Lz
+ J0b d3t41Lz
- J0b typ3
+ J0b typ3
- C0mm4nd
+ C0mm4nd
- C0mm4nd d3t41Lz
+ C0mm4nd d3t41Lz
- C0mm4nd
+ C0mm4nd
- sudo rm -rf /
+ sudo rm -rf /
- 3xp3ct3d 3x1t c0d3
+ 3xp3ct3d 3x1t c0d3
- 0
+ 0
- R3b00t
+ R3b00t
- R3b00t j0b d3t41Lz
+ R3b00t j0b d3t41Lz
- R3b00t c0mm4nd
+ R3b00t c0mm4nd
- sudo telinit 6
+ sudo telinit 6
- Us3 {reboot-delay} 0r {reboot-delay-secs} 2 4dd t3h d3L4y 1n y0 c0mm4nd
+ Us3 {reboot-delay} 0r {reboot-delay-secs} 2 4dd t3h d3L4y 1n y0 c0mm4nd
- R3b00t d3L4y (1n m1nut3z)
+ R3b00t d3L4y (1n m1nut3z)
- 5
+ 0
- D3L4y b3tw33n tr1gg3r1n' r3b00t n 4ctu4L r3b00t
+ D3L4y b3tw33n tr1gg3r1n' r3b00t n 4ctu4L r3b00t
- R3b00t dur4t10n (1n m1nut3z)
+ R3b00t dur4t10n (1n m1nut3z)
- 10
+ 10
- t3h 4m0unt 0f t1m3 t3h syst3m t4k3z 2 4ctu4LLy r3b00t
+ t3h 4m0unt 0f t1m3 t3h syst3m t4k3z 2 4ctu4LLy r3b00t
- G3t s3rv1c3z c0mm4nd
+ G3t s3rv1c3z c0mm4nd
- ps -aux
+ ps -aux
- G3t s3rv1c3z c0mm4nd 3x1t c0d3
+ G3t s3rv1c3z c0mm4nd 3x1t c0d3
- 0
+ 0
- HTTP r3qu3st
+ HTTP r3qu3st
- HTTP r3qu3st d3t41Lz
+ HTTP r3qu3st d3t41Lz
- UrL
+ UrL
- https://www.h4x0r.l33t
+ https://www.h4x0r.l33t
- Us3rn4m3 4 b4s1c 4uth
+ Us3rn4m3 4 b4s1c 4uth
- root
+ root
- P4ssw0rd 4 b4s1c 4uth
+ P4ssw0rd 4 b4s1c 4uth
- c0rr3ct h0rs3 b4tt3ry st4pL3
+ c0rr3ct h0rs3 b4tt3ry st4pL3
- d1z f13Ld b b31n' s4v3d 4z @ s3cr3t
+ d1z f13Ld b b31n' s4v3d 4z @ s3cr3t
- 3xp3ct3d http st4tuz c0d3
+ 3xp3ct3d http st4tuz c0d3
- 503
+ 503
- H0st typ3
+ H0st typ3
- L0c4L
+ L0c4L
- L0c4Lh0st d3t41Lz
+ L0c4Lh0st d3t41Lz
- N0 0pt10nz
+ N0 0pt10nz
- SSH
+ SSH
- SSH h0st d3t41Lz
+ SSH h0st d3t41Lz
- H0stn4m3
+ H0stn4m3
- g4t3w4y.n00b.0rg
+ g4t3w4y.n00b.0rg
- Us3rn4m3
+ Us3rn4m3
- anonymous
+ anonymous
- Pr1v4t3 k3y
+ Pr1v4t3 k3y
- d1z f1L3 b b31n' s4v3z 4z @ s3cr3t
+ d1z f1L3 b b31n' s4v3z 4z @ s3cr3t
- K33p
+ K33p
- P4ssphr4s3 4 pr1v4t3 k3y
+ P4ssphr4s3 4 pr1v4t3 k3y
- w00t w00t
+ w00t w00t
- 1f pr1v4t3 k3y b 3mpty d1z f13Ld b b31n' us3d 4z ssh-p4ssw0rd d1z f13Ld b b31n' s4v3d 4z @ s3cr3t
+ 1f pr1v4t3 k3y b 3mpty d1z f13Ld b b31n' us3d 4z ssh-p4ssw0rd d1z f13Ld b b31n' s4v3d 4z @ s3cr3t
- C0nt41n3r typ3
+ C0nt41n3r typ3
- N0n3
+ N0n3
- D0ck3r
+ D0ck3r
- D0ck3r c0nt41n3r d3t41Lz
+ D0ck3r c0nt41n3r d3t41Lz
- S3rv1c3
+ S3rv1c3
- gopher
+ gopher
- Us3rn4m3
+ Us3rn4m3
- root
+ root
- V4r14bL3z
+ V4r14bL3z
- S3cr3t
+ S3cr3t
- N4m3
+ N4m3
- V4Lu3
+ V4Lu3
- j00 c4n 4dd v4r14bL3z by us1n' {v4r14bL3-n4m3} 1n j0b d3t41Lz
+ j00 c4n 4dd v4r14bL3z by us1n' {v4r14bL3-n4m3} 1n j0b d3t41Lz
- 4dd variable
+ 4dd variable
- Subm1t!
+ Subm1t!
- W3bcr0n m4n4g3m3nt
+ W3bcr0n m4n4g3m3nt
- S0urc3
+ S0urc3
- Wh3n 2 run d1z j0b?
+ Wh3n 2 run d1z j0b?
- PL34s3 s3L3ct t3h t1m3 2 run d1z j0b
+ PL34s3 s3L3ct t3h t1m3 2 run d1z j0b
- Sch3duL3
+ Sch3duL3
- Run n0w
+ Run n0w
- CL0s3
+ CL0s3
- Cr0nj0b h4z b33n sch3duL3d
+ Cr0nj0b h4z b33n sch3duL3d
- J0b wuz sch3duL3d 2 b run. j00 w1LL f1nd t3h 0utput s00n 1n t3h j0b d3t41Lz
+ J0b wuz sch3duL3d 2 b run. j00 w1LL f1nd t3h 0utput s00n 1n t3h j0b d3t41Lz
- Cr0nj0b succ3sfuLLy r4n
+ Cr0nj0b succ3sfuLLy r4n
- Cr0nj0b f41L3d. PL34s3 ch3ck 0utput b3L0w
+ Cr0nj0b f41L3d. PL34s3 ch3ck 0utput b3L0w
- Cr0nj0b r4n 1n _runtime_ s3c0ndz w1th 3x1t c0d3 _exitcode_
+ Cr0nj0b r4n 1n _runtime_ s3c0ndz w1th 3x1t c0d3 _exitcode_
- W3bh00k URL
+ W3bh00k URL
+
+
+
+ Tr1gg3r3d run
- Webcron management
+ Webcron management
- Webcron management
+ Webcron management
- Deze applicatie is in demo modus. Alle functies zijn actief, maar taken worden niet uitgevoerd
+ Deze applicatie is in demo modus. Alle functies zijn actief, maar taken worden niet uitgevoerd
- Aanmeldgegevens voor demo modus:
+ Aanmeldgegevens voor demo modus:
- Gebruikersnaam
+ Gebruikersnaam
- Wachtwoord
+ Wachtwoord
- Overzicht
+ Overzicht
- Taak toevoegen
+ Taak toevoegen
- Instellingen
+ Instellingen
- Afmelden
+ Afmelden
- Gebruikersnaam
+ Gebruikersnaam
- jeroen@example.com
+ jeroen@example.com
- Wachtwoord
+ Wachtwoord
- abc123
+ abc123
- Onthoud mij!
+ Onthoud mij!
- Aanmelden
+ Aanmelden
- Instellingen
+ Instellingen
- Instellingen
+ Instellingen
- Taal bestaat niet
+ Taal bestaat niet
- Taal werd opgeslagen
+ Taal werd opgeslagen
- Wachtwoorden zijn niet gelijk
+ Wachtwoorden zijn niet gelijk
- Wachtwoord is not correct
+ Wachtwoord is not correct
- Wachtwoord werd opgeslagen
+ Wachtwoord werd opgeslagen
- Wachtwoord
+ Wachtwoord
- Huidig wachtwoord
+ Huidig wachtwoord
- abc123
+ abc123
- Nieuw wachtwoord
+ Nieuw wachtwoord
- 123abc
+ 123abc
- Herhaal wachtwoord
+ Herhaal wachtwoord
- 123abc
+ 123abc
- Andere instellingen
+ Andere instellingen
- Taal
+ Taal
- Verzend!
+ Verzend!
- Overzicht
+ Overzicht
- Overzicht van de geplande taken
+ Overzicht van de geplande taken
- Naam
+ Naam
- Host
+ Host
- Interval
+ Interval
- Volgende uitvoering
+ Volgende uitvoering
- Taak werd succesvol verwijderd
+ Taak werd succesvol verwijderd
- Overzicht van uitvoeringen van _jobname_
+ Overzicht van uitvoeringen van _jobname_
- Overzicht van uitvoeringen van _jobname_
+ Overzicht van uitvoeringen van _jobname_
- Bewerk taak
+ Bewerk taak
- Toon alleen gefaalde uitvoeringen
+ Toon alleen gefaalde uitvoeringen
- Toon alle uitvoeringen
+ Toon alle uitvoeringen
- Resultaat
+ Resultaat
- Duurtijd
+ Duurtijd
- Manuele uitvoering
+ Manuele uitvoering
- Geen gefaalde uitvoeringen gevonden
+ Geen gefaalde uitvoeringen gevonden
- Geen uitvoeringen gevonden
+ Geen uitvoeringen gevonden
- Bewerk taak
+ Bewerk taak
- Bewerk taak _jobname_
+ Bewerk taak _jobname_
- Taak werd succesvol bijgewerkt
+ Taak werd succesvol bijgewerkt
- Taak toevoegen
+ Taak toevoegen
- Nieuwe taak toevoegen
+ Nieuwe taak toevoegen
- Taak werd succesvol toegevoegd
+ Taak werd succesvol toegevoegd
- Algemene info
+ Algemene info
- Naam
+ Naam
- Systemen updaten
+ Systemen updaten
- Je kan gekleurde tags toevoegen met [tag]
+ Je kan gekleurde tags toevoegen met [tag]
- Interval (in seconden)
+ Interval (in seconden)
- 3600
+ 3600
- Patronen
+ Patronen
- Iedere minuut
+ Iedere minuut
- Ieder uur
+ Ieder uur
- Iedere dag
+ Iedere dag
- Iedere week
+ Iedere week
- Iedere 4 weken
+ Iedere 4 weken
- Volgende uitvoering
+ Volgende uitvoering
- Laatste uitvoering
+ Laatste uitvoering
- Eeuwig
+ Eeuwig
- Opslag (in dagen)
+ Opslag (in dagen)
- 180
+ 180
- Hoeveel dagen moeten uitvoeringen van een job bewaard worden
+ Hoeveel dagen moeten uitvoeringen van een job bewaard worden
- Max faalpercentage
+ Max faalpercentage
- Aantal dagen berekend voor faalpercentage
+ Aantal dagen berekend voor faalpercentage
- 7
+ 7
- Host label
+ Host label
- petrosian.jeroened.be
+ petrosian.jeroened.be
- Geef hier een eenvoudig te herkennen hostnaam. Indien leeg zal hostnaam uit de taak details gebruikt worden
+ Geef hier een eenvoudig te herkennen hostnaam. Indien leeg zal hostnaam uit de taak details gebruikt worden
- Taak details
+ Taak details
- Taak type
+ Taak type
- Commando
+ Commando
- Commando details
+ Commando details
- Commando
+ Commando
- sudo apt update
+ sudo apt update
- Verwacht resultaat
+ Verwacht resultaat
- 0
+ 0
- Herstart
+ Herstart
- Herstart details
+ Herstart details
- Herstart commando
+ Herstart commando
- systemctl reboot
+ systemctl reboot
- Gebruik {reboot-delay} of {reboot-delay-secs} om de vertraging toe te voegen in je commando
+ Gebruik {reboot-delay} of {reboot-delay-secs} om de vertraging toe te voegen in je commando
- Herstart vertraging (in minuten)
+ Herstart vertraging (in minuten)
- 5
+ 5
- Tijd tussen het aanroepen van herstart commando en de eigenlijke herstart
+ Tijd tussen het aanroepen van herstart commando en de eigenlijke herstart
- Duurtijd van herstart (in minuten)
+ Duurtijd van herstart (in minuten)
- 10
+ 10
- De tijd dat de effectieve herstart duurt
+ De tijd dat de effectieve herstart duurt
- Commando voor ophalen services
+ Commando voor ophalen services
- systemctl list-units
+ systemctl list-units
- Resultaat van commando voor ophalen services
+ Resultaat van commando voor ophalen services
- 0
+ 0
- HTTP request
+ HTTP request
- HTTP request details
+ HTTP request details
- Url
+ Url
- https://www.example.com
+ https://www.example.com
- Gebruikersnaam voor basic auth
+ Gebruikersnaam voor basic auth
- www-data
+ www-data
- Wachtwoord voor basic auth
+ Wachtwoord voor basic auth
- correct horse battery staple
+ correct horse battery staple
- Dit veld word opgeslagen als geheime waarde
+ Dit veld word opgeslagen als geheime waarde
- Verwachte http status code
+ Verwachte http status code
- 418
+ 418
- Host type
+ Host type
- Lokaal
+ Lokaal
- Localhost details
+ Localhost details
- Geen opties
+ Geen opties
- SSH
+ SSH
- SSH host details
+ SSH host details
- Hostnaam
+ Hostnaam
- ssh.abc.xyz
+ ssh.abc.xyz
- Gebruikersnaam
+ Gebruikersnaam
- larry
+ larry
- Privésleutel
+ Privésleutel
- Dit bestand word opgeslagen als geheime waarde
+ Dit bestand word opgeslagen als geheime waarde
- Behoud
+ Behoud
- Wachtwoord voor privésleutel
+ Wachtwoord voor privésleutel
- abc123
+ abc123
- Indien er geen privésleutel is meegegeven zal dit gebruikt worden als gewoon wachtwoord. Dit veld word opgeslagen als geheime waarde
+ Indien er geen privésleutel is meegegeven zal dit gebruikt worden als gewoon wachtwoord. Dit veld word opgeslagen als geheime waarde
- Container type
+ Container type
- Geen
+ Geen
- Docker
+ Docker
- Docker container details
+ Docker container details
- Service
+ Service
- mysql
+ mysql
- Gebruikersnaam
+ Gebruikersnaam
- larry
+ larry
- Variabelen
+ Variabelen
- Geheim
+ Geheim
- Naam
+ Naam
- Waarde
+ Waarde
- Je kan variabelen gebruiken via {variabele-naam} in de taak details
+ Je kan variabelen gebruiken via {variabele-naam} in de taak details
- Variable toevoegen
+ Variable toevoegen
- Verzend!
+ Verzend!
- Webcron Management
+ Webcron Management
- Broncode
+ Broncode
- Wanneer moet deze taak uitgevoerd worden?
+ Wanneer moet deze taak uitgevoerd worden?
- Gelieve de datum en tijd te selecteren om deze taak uit te voeren
+ Gelieve de datum en tijd te selecteren om deze taak uit te voeren
- Plan
+ Plan
- Nu uitvoeren
+ Nu uitvoeren
- Sluiten
+ Sluiten
- Taak werd doorgestuurd naar de daemon
+ Taak werd doorgestuurd naar de daemon
- Taak werd doorgestuurd naar de daemon. De output vind u binnenkort in de taakdetails
+ Taak werd doorgestuurd naar de daemon. De output vind u binnenkort in de taakdetails
- Taak werd succesvol uitgevoerd
+ Taak werd succesvol uitgevoerd
- Taak faalde. Hieronder vind u de output ter controle
+ Taak faalde. Hieronder vind u de output ter controle
- Taak werd in _runtime_ seconden uitgevoerd met resultaat _exitcode_
+ Taak werd in _runtime_ seconden uitgevoerd met resultaat _exitcode_
- Webhook-URL
+ Webhook-URL
+
+
+
+ Getriggerde uitvoering