Skip to content

Commit 6b39f6e

Browse files
author
Nicolas Malaval
committed
Redirect change_state.py output to null
1 parent 7ee8b4c commit 6b39f6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ sudo crontab -e
294294
If the Slurm user is not root, you could create the cron for that user instead `sudo crontab -e -u username`. Add the following line into the file. Make sure to adapt the path `/fullpath/change_state.py` to your own context.
295295

296296
```
297-
* * * * * /fullpath/change_state.py
297+
* * * * * /fullpath/change_state.py &>/dev/null
298298
```
299299

300300
<a name="tc_cloudformation"/>

template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ Resources:
377377

378378
crontab -l > mycron
379379
cat > mycron <<EOF
380-
* * * * * $SLURM_HOME/etc/aws/change_state.py
380+
* * * * * $SLURM_HOME/etc/aws/change_state.py &>/dev/null
381381
EOF
382382
crontab mycron
383383
rm mycron

0 commit comments

Comments
 (0)