Commit Graph

16 Commits

Author SHA1 Message Date
Jeremy Gardais fbe10bda8f
Rename days to attempts
If we run X times the script with available upgrade, the SGE queue will
be disabled.
2020-11-30 14:45:23 +01:00
Jeremy Gardais 62128c89bb
Test apt upgrade before all sub-tests 2020-09-25 15:08:51 +02:00
Jeremy Gardais 7c2edce71d
If no test succeed, just add content to temp file 2020-09-25 13:42:59 +02:00
Jeremy Gardais fed34bae66
Move some vars def to define_vars function 2020-09-25 13:39:27 +02:00
Jeremy Gardais 7f8947dac9
Disable queue if pending upgrade for more than 3 days 2020-09-25 13:24:20 +02:00
Jeremy Gardais d79c9fe833
Disable SGE queue if used slots is EMPTY 2020-09-25 11:36:12 +02:00
Jeremy Gardais d9beee6e27
Disable queue if used slots reach a percentage 2020-09-25 10:03:24 +02:00
Jeremy Gardais 8b7a32ccfb
Allow some basics options (-h and -d) 2020-09-24 15:18:09 +02:00
Jeremy Gardais e35b7af614
Disable queue when 0 pending jobs 2020-09-24 14:56:27 +02:00
Jeremy Gardais c1d23c04f6
debug func return 0 to allow chain function 2020-08-20 10:02:11 +02:00
Jeremy Gardais b13eaf3564
Remove APT warning 2020-06-25 08:50:17 +02:00
Jeremy Gardais 05bc7ac54e
Rename sge disable queue script 2020-06-22 11:25:11 +02:00
Jeremy Gardais 6a84224f8a
Create a temp file if APT upgrade is available 2020-06-18 08:45:28 +02:00
Jeremy Gardais 06b03ea27c
Exit with success if everything was ok 2020-06-15 13:49:25 +02:00
Jeremy Gardais 19a233d145
Forgot to update the vars after debug 2020-06-04 16:52:10 +02:00
Jeremy Gardais 8ea845f74e
Rename script to check APT updates 2020-06-04 16:43:17 +02:00