summaryrefslogtreecommitdiffstats
path: root/roles/shutdown_nightly/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/shutdown_nightly/tasks')
-rw-r--r--roles/shutdown_nightly/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/shutdown_nightly/tasks/main.yml b/roles/shutdown_nightly/tasks/main.yml
new file mode 100644
index 000000000..f99811572
--- /dev/null
+++ b/roles/shutdown_nightly/tasks/main.yml
@@ -0,0 +1,7 @@
+---
+- name: Setup nightly shutdown command to save money
+ cron: >
+ name="shutdown system at night to save money"
+ hour="18"
+ minute="0"
+ job="/usr/sbin/shutdown --halt"