aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/role/manifests/cryptoportfolio/bot.pp11
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/role/manifests/cryptoportfolio/bot.pp b/modules/role/manifests/cryptoportfolio/bot.pp
index 0021bc6..e4e3e6e 100644
--- a/modules/role/manifests/cryptoportfolio/bot.pp
+++ b/modules/role/manifests/cryptoportfolio/bot.pp
@@ -61,16 +61,7 @@ class role::cryptoportfolio::bot inherits role::cryptoportfolio {
61 File[$cf_bot_app_conf], 61 File[$cf_bot_app_conf],
62 Archive["${home}/trader_${trader_version}.tar.gz"] 62 Archive["${home}/trader_${trader_version}.tar.gz"]
63 ], 63 ],
64 jobs => [ 64 jobs => [],
65 {
66 command => "cd $cf_bot_app ; python main.py --quiet --config $cf_bot_app_conf --before",
67 user => $user,
68 weekday => 7, # Sunday
69 hour => 22,
70 minute => 30,
71 description => "Run before the cryptoportfolio update",
72 }
73 ],
74 } 65 }
75 66
76 if ($environment == "production") { 67 if ($environment == "production") {