Skip to content

Commit e023cd4

Browse files
Fix autoscaling Cron job
1 parent baa8790 commit e023cd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

playbooks/roles/cron/tasks/el.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
name: slurm autoscaling
2929
minute: "#*"
3030
user: '{{ ansible_user }}'
31-
job: "/opt/oci-hpc/autoscaling/crontab/autoscale_slurm.sh >> /opt/oci-hpc/logs/crontab_slurm_`date '+\\%Y\\%m\\%d'`.log 2>&1"
31+
job: "#/opt/oci-hpc/autoscaling/crontab/autoscale_slurm.sh >> /opt/oci-hpc/logs/crontab_slurm_`date '+\\%Y\\%m\\%d'`.log 2>&1"
3232
when: not autoscaling | bool
3333

3434

playbooks/roles/cron/tasks/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
name: slurm autoscaling
6565
minute: "#*"
6666
user: '{{ ansible_user }}'
67-
job: "/opt/oci-hpc/autoscaling/crontab/autoscale_slurm.sh >> /opt/oci-hpc/logs/crontab_slurm_`date '+\\%Y\\%m\\%d'`.log 2>&1"
67+
job: "#/opt/oci-hpc/autoscaling/crontab/autoscale_slurm.sh >> /opt/oci-hpc/logs/crontab_slurm_`date '+\\%Y\\%m\\%d'`.log 2>&1"
6868
when: not autoscaling | bool
6969

7070
- name: Create a commented Slurm monitoring cron file under /etc/cron.d

0 commit comments

Comments
 (0)