X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Frole%2Fmanifests%2Fcryptoportfolio%2Fbot.pp;h=e4e3e6e350e598861f45e2107da58151caf4cc3a;hb=da0f686b366140aab3d01c95f37eb655f07f81ef;hp=18a60d4a0394153a26d371c6d32f0a346dd3b036;hpb=19c467dccfd00193a66f1341f068987da7bca14b;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/modules/role/manifests/cryptoportfolio/bot.pp b/modules/role/manifests/cryptoportfolio/bot.pp index 18a60d4..e4e3e6e 100644 --- a/modules/role/manifests/cryptoportfolio/bot.pp +++ b/modules/role/manifests/cryptoportfolio/bot.pp @@ -61,24 +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", - }, - { - command => "cd $cf_bot_app ; python main.py --quiet --config $cf_bot_app_conf --after", - user => $user, - weekday => 1, # Monday - hour => 0, - minute => 0, - description => "Run after the cryptoportfolio update", - } - ], + jobs => [], } if ($environment == "production") {