Steven Willoughby schrieb: > #!/usr/bin/perl > `/bin/true` for 0..int(rand(100)); > > This will increase the pid and should stop your job from failing > continuously. > > Steven
Exactly. Same thing in bash: #!/bin/bash for i in `seq 1 $((RANDOM%100))`; do /bin/true; done But you should make sure that $RANDOM assumes different values after a reboot (same for perl's rand(100), which is likely more advanced and less likely to suffer from that problem). Jakob _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
