Commit Graph

372 Commits (master)

Author SHA1 Message Date
deajan ebf8b106d5 Fixed ExecTasks parallelExec runs 7 years ago
deajan 73d592ad34 Merged WaitForTaskCompletion and ParallelExec into ExecTasks 7 years ago
deajan 8fb3ea2532 Added fix from PR #123 7 years ago
deajan 755edb0654 Fixed #116 in master too 7 years ago
deajan c78d6bc4ce Fixed process counting message 7 years ago
deajan 7e26863daf Backports from other projects 7 years ago
deajan 0a1dc91fad Fixed bogus global WAIT_FOR variable 7 years ago
deajan c05499c5f2 Improved ParallelExec status message 7 years ago
deajan a65bec4410 Replaced IsNumeric with IsInteger for pid checks 7 years ago
deajan 06becc5181 Updated ofunctions 7 years ago
deajan 1dc9408044 Fix double compression extension 7 years ago
deajan 10ebfaae16 Added LC_ALL=C to all ssh calls 7 years ago
deajan 11408d2de0 Add more locale exports 7 years ago
deajan 2c1e688d8e Bumped dev versions to rc 7 years ago
deajan 2b163d385b KillChilds shoudln't allow a pid of 1 either 7 years ago
deajan ab40ea64e2 Checking pid doesn't contain 0 7 years ago
deajan 11bd517982 Last fix for KillChilds pgrep issue on Mac 7 years ago
deajan c2b24688ef Another fix in the wall 7 years ago
deajan 011a316f94 Added pid test in KillChilds 7 years ago
deajan fe210877dc Prevent possible recursive loop with bogus pgrep implementation 7 years ago
deajan 1a85d5ded9 Added -q parameter to ssh to inhibate banners 7 years ago
deajan 402adba191 Fixed GetRemoteOS os-release getinfo 7 years ago
deajan 2934951495 Added wchan to performance profiler 7 years ago
deajan 12685b3154 Added more params to performance profiler 7 years ago
deajan 128051cd8f Added iostat to perf profiler 7 years ago
deajan bbff9d55d6 Added perf profiler 7 years ago
deajan ac0f7b3866 Updated ofunctions 7 years ago
deajan d530cbbe44 Updated ofunctions 7 years ago
deajan feb2034b53 Bumped ofunctions version 7 years ago
deajan 26d698422b Added umask for log & run files 7 years ago
deajan 19c15d2265 Bumped version to v1.2 final 7 years ago
deajan d9d7bd9f3c Added MINGW64 to supported OS list 7 years ago
deajan fa0e194819 Made TSTAMP more readable 7 years ago
deajan 24d76f1888 Prevent possibility to run remote cmds on local runs 7 years ago
deajan baaf1a621a Bumped version to v1.2RC3 7 years ago
deajan 81438ce2fd Imported funny _REMOTE_TOKEN obfuscation from obackup :) 7 years ago
deajan 15e1d7fbe0 Updated ofunctions from obackup 7 years ago
deajan 4135c59869 Added _REMOTE_TOKEN for ssh_filter 7 years ago
deajan 77e4a05613 Bumped version to v1.2RC2 7 years ago
deajan 839c287ec9 Better BSD ping when not root 7 years ago
deajan 2a63707cf7 Quick ping fix for FreeBSD non root 7 years ago
deajan 1e7a8d643c Improved os detection 7 years ago
deajan e201217935 Fixed inline messages when encoding used 7 years ago
deajan 6031036ae1 Trying to resolve mail encoding issues 7 years ago
deajan 69f8945806 Fix for escaped UTF-8 characters in log files 7 years ago
deajan 1653a6da57 Added vercomp function 7 years ago
deajan 6fc4bef224 Updated ofunctions from obackup 8 years ago
deajan 4c6ada2388 Added small fixes from obackup 8 years ago
deajan 07daa13517 Some minor fixes from obackup 8 years ago
deajan 79402ef2da Updated ofunctions from obackup 8 years ago
deajan 266b35d81b Fixing typos 8 years ago
deajan 97a1aa5e05 Updated sudo behavior 8 years ago
deajan eee2bdf565 Made critical error message more readable 8 years ago
deajan caccb04c06 Fixed RemoteLogger prefix 8 years ago
deajan 69568e8132 Removed unnecessary code 8 years ago
deajan 28dbd94ce0 Misc changes 8 years ago
deajan 8fbe4d716d Added RSYNC_OPTIONAL_ARGS parameter 8 years ago
deajan 68d0306713 Minor fix 8 years ago
deajan 486f63043d Fixed stupid typos 8 years ago
deajan a3af29804d Fixed missing env variables for remote calls 8 years ago
deajan 4d52f71061 Added some degree of randomisation on RUN_DIR files 8 years ago
deajan b8b648f9b8 Missing fi 8 years ago
deajan 5e52049bae Disable rsync --skip-compress on MacOS 8 years ago
deajan 5c4b76ab9e Reverted simplification of remote stat 8 years ago
deajan d031a5504b Fixed skip-compress regex not liked by bsd 8 years ago
deajan bd28ca8837 Minor changes & fixes 8 years ago
deajan c3894b7694 Multiple typo fixes and shellcheck improvements 8 years ago
deajan 23cac5cad6 Unexpanded all source files 8 years ago
deajan 7bc93df5e6 Fixed RemoteLogger debugging 8 years ago
deajan cc4636e298 Remote logging debug improvements 8 years ago
deajan 63bee68be0 Added android to OS exclusion list for ACL sync 8 years ago
deajan f11cc81c01 File attrib skip logic fix 8 years ago
deajan 0761f15b22 Switched to new rsync compression, added excluded extensions, fix ACL for busybox 8 years ago
deajan 852ff0adf5 Reverted openssl silent becauce sendmail: NOOP failed 8 years ago
deajan d2be7e43a8 Fixing typos and rendering openssl silent 8 years ago
deajan c9635d48d3 Fixed ambiguous redirect 8 years ago
deajan c5d83a18bf quick and dirty debug test 8 years ago
deajan 4e61b23cc5 Various typo fixes + arrayToString fix 8 years ago
deajan 72dfd4e94c Fixes in android email sending 8 years ago
deajan 9bce1a7f1c Less code for spinner 8 years ago
deajan 4308678cc2 Smaller spinner code 8 years ago
deajan 229a9800cc Make difference between msys and cygwin 8 years ago
deajan a543099eed Added msys2 detection and bootstrap safe code 8 years ago
deajan 31b1f0791a Added comment 8 years ago
deajan ce6b674ba3 Minor function renames 8 years ago
deajan 731fc81abf Made ofunctions "includable" 8 years ago
deajan 7e44139325 Minor adjustment to _Logger 8 years ago
deajan 226bf33e29 Code compliance on ArrayContains 8 years ago
deajan bdf72843ee Added ofunctions header for next branch identification 8 years ago
deajan 078d47403f Reorganized function chronology 8 years ago
deajan a87c44b9dc Rendered WaitForTaskCompletion global output thread safe 8 years ago
deajan 3128cb1841 Added global var HARD_MAX_EXEC_TIME_REACHED 8 years ago
deajan a7e41410e9 Removed unnecessary comments 8 years ago
deajan 88b135118d Coped with really old TODO fixing rsyncpatterns when path separator isn't semicolon 8 years ago
deajan 01c62aa4ca Multiple recipient compat for mutt 8 years ago
deajan 9bb849dec7 Quick paranoia debug fix 8 years ago
deajan b8f38152d5 Soft time alerts aren't anymore redundant when counting=false 8 years ago
deajan 745688d982 Improved timed execution of sync function 8 years ago
deajan 8ee4b824da Work on WaitForTaskCompletion hard exec time 8 years ago
deajan 804a284cb3 Updated parallelexec and fixed soft max time enforcement 8 years ago
deajan a0fd7941c7 Changed to more clear WaitForTaskCompletion & ParallelExec argument list 8 years ago
deajan 3a3e7cfa02 Disabling ACL / XATTR on Mac & msys 8 years ago
deajan c3013347bb Fixing OS detection on Cygwin 8 years ago
deajan b3d17f8fec Fixed WinNT10 detection 8 years ago
deajan 15630c4b6d msys/cygwin don't know about process states 8 years ago
deajan 7e8463ec50 Fixing typos 8 years ago
deajan 9fb9d3504e Added Win10 bash detection 8 years ago
deajan 6d0e7cd0c7 Updated WaitForTaskcompletion to emulate wait 8 years ago
deajan 85466e0ab0 Added MAX_WAIT support for MacOS daemon mode 8 years ago
deajan 2b8fe18217 Disable ACL and XATTR preserve by default on Mac 8 years ago
deajan eec2df90e3 Fixed old executability exclusion on MacOS 8 years ago
deajan 4dd007ae56 Render SendEmail function MacOS compatible 8 years ago
deajan 5ec5d01dca Fixed possible issue if global var toggle is used 8 years ago
deajan 0718eb6f60 More optional checks to remove if not paranoia debug 8 years ago
deajan 325c4e5d5c GetRemoteOS executed anyway 8 years ago
deajan 6efe00938b Better android detection 8 years ago
deajan 2488b1ece7 Removed debugging exit 8 years ago
deajan 557bfb097d Removed unncecessary code 8 years ago
deajan 853f2692dd Some work on Logger function 8 years ago
deajan c155e0ccf5 SLEEP_TIME default value 8 years ago
deajan 752d7f3bb9 Logger now creates flag files 8 years ago
deajan 75e6a58580 Fixed typo and removed unneeded code 8 years ago
deajan 2200611e23 Cosmetic change 8 years ago
deajan 6cc1286fe9 Allow set external sleep time in debug mode 8 years ago
deajan 9cafba436d Refactor GetRemoteOS 8 years ago
deajan 076ace4b43 Fixed TrapError shell color 8 years ago
deajan 6bdd5b0a1a Added color to TrapError output 8 years ago
deajan 63c64c5d5e Added --summary and --no-prefix arguments 8 years ago
deajan 4fb0b5f5f7 Added ALWAYS loger option, also fixed boolean capitalization 8 years ago
deajan 7b9fde680e Added error only support in Logger 8 years ago
deajan 16a717a8bb Fixed debug trapError show warnings in IsNumeric functions when not numeric 8 years ago
deajan 4442c571f9 Refactored SendAlert and SendEmail 8 years ago
deajan d9a3fa9427 Remove forgotten -f parameter 8 years ago
deajan 51fb8b8bac Fixed alert log name when instance isn't kwnown yet 8 years ago
deajan b461b5bc95 Fixed attachment command in SendEmail 8 years ago
deajan d36ecd1f32 Fixed alert log filenames per instance 8 years ago
deajan a464fa37a3 Implement TLS and SSL support for busybox sendmail 8 years ago
deajan bddd7c87da Updated ofunctions with better busybox support 8 years ago
deajan 0e897f66c5 Fixed HumanToNumeric function 8 years ago
deajan 0e049c4850 More busybox love 8 years ago
deajan 6665b7d9d9 Added remote busybox detection 8 years ago
deajan 97a1db5f55 Added HumanToNumeric function 8 years ago
deajan fe2a3037f7 Cosmetic fix 8 years ago
deajan 101cb26549 Cosmetic fixes 8 years ago
deajan 4e73a17efa More busybox fixes 8 years ago
deajan 84f266568d pidState command busybox compat 8 years ago
deajan 1366b0c10c Prefered C style boolean values 8 years ago
deajan 3ae961c4b9 Added arrayContains function 8 years ago
deajan 0be2bc3bc3 Updated ofunctions 8 years ago
deajan 951f6b1996 Allow default inclusion / exclusions for quicksync 8 years ago
deajan 4c3aa02954 Updated common scripts 8 years ago
deajan 4725bafb35 Improved ParallelExec 8 years ago
deajan 6e80c4772f Improved ParallelExec functions 8 years ago
deajan 873ff7971f Updated ofunctions with minor fixes 8 years ago
deajan b94dd28a6c Rebuilt targets 8 years ago
deajan 415c153683 Added some other paranoia debug checks 8 years ago
deajan a31cceedc6 Made WaitFor and ParallelExec functions more robust 8 years ago
deajan aa4b7dddc8 Fixed verbose logging 8 years ago
deajan 2764930dc4 Replaced 0/1 with bolean logic 8 years ago
deajan 385bc5d40f Simplified verbose. Also replaced 0,1 with false,true 8 years ago
deajan e019fb98f9 Added missing local declarations 8 years ago
deajan 32fbb24259 Updated ofunctions with ParallelExec 8 years ago
deajan bcbd43fafb Fixed code removal 8 years ago
deajan df2cfe8fa5 Removed unused code 8 years ago
deajan f052422c44 Prevent double kill in WaitForTaskCompletion 8 years ago
deajan fd2dfabce2 Made signals posix compliant 8 years ago
deajan fd08e00abb Increased soft warn value for remote internet checks 8 years ago
deajan 416f2c1e45 Updated ofunctions from obackup project 8 years ago
deajan 959ac5bd50 Updated ofunctions 8 years ago
deajan 8b19d51042 Parallelized sync functions 8 years ago
deajan 06ca2f6a37 Fixed executability for macosX 8 years ago
deajan 0162721513 Added missing fi 8 years ago
deajan 1472fba4bc Added initial preserve permissions 8 years ago
deajan 6f1307a4fd Minor fixes in ofunctions 8 years ago
deajan cdbad63e87 Updated ofunctions 8 years ago
deajan bf0051c63d Refactored wait functions 8 years ago
deajan b16737e326 Fixed double pattern delcaration 8 years ago
deajan c519639aec more and more parallelisation 8 years ago
deajan 6f59e37e94 Paralellized run before / after functions 8 years ago
deajan 6bb5ab9c22 Various minor fixes 8 years ago
deajan 5c43179ef4 Multi pid wait and killchild functions 8 years ago
deajan 33467ca56c Rebuild targets 8 years ago
deajan 7be29fdb05 New wait function handles multiple pids 8 years ago
deajan b3935b43d3 Lowered sleep time 8 years ago
deajan 5880e1502f Code cleanup 8 years ago
deajan 1bbd495e2a Fix for #52 8 years ago
deajan f727db8f86 Fixed sed -i for BSD & Mac 8 years ago
deajan a4bdd5aa37 Finished windows support for generic mail sending function 8 years ago
deajan 186f293c94 Fixed installer paths 8 years ago
deajan e1b1643b1a More debugging love for KillChilds 8 years ago
deajan e832cb700b Fixed bogus debug if in Killchilds 8 years ago
deajan 0ca9b75085 Some msys/cygwin fixes 8 years ago
deajan c21a109f19 Updated ofunctions.sh with userland logging 8 years ago
deajan 0d08c42ecd Rendered sync_attr function BSD compatible 8 years ago
deajan 23b2347765 Removed typo file 8 years ago
deajan 5ae98f4fd4 Wronf ofunctions.sh uploaded 8 years ago
deajan 9a9d31ee66 Better time control and pid kill handling 8 years ago
deajan 433a72938f Reverted using eval in SendAlert 8 years ago
deajan 0a43c1a120 Fixed bogus SSH_OPTS 8 years ago
deajan fb53664877 Added systemd file, installer stats and ssh known host ignore option 8 years ago