]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Remove cryptoportfolio bot job
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 14 Oct 2018 18:40:29 +0000 (20:40 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 14 Oct 2018 18:40:29 +0000 (20:40 +0200)
modules/role/manifests/cryptoportfolio/bot.pp

index 0021bc63e6b6cd5263ff841e7dc27c2a770fa3ad..e4e3e6e350e598861f45e2107da58151caf4cc3a 100644 (file)
@@ -61,16 +61,7 @@ class role::cryptoportfolio::bot inherits role::cryptoportfolio {
       File[$cf_bot_app_conf],
       Archive["${home}/trader_${trader_version}.tar.gz"]
     ],
-    jobs        => [
-      {
-        command     => "cd $cf_bot_app ; python main.py --quiet --config $cf_bot_app_conf --before",
-        user        => $user,
-        weekday     => 7, # Sunday
-        hour        => 22,
-        minute      => 30,
-        description => "Run before the cryptoportfolio update",
-      }
-    ],
+    jobs        => [],
   }
 
   if ($environment == "production") {