X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=tools%2Ftutorial.ml;h=397b96fd5c24c69c92f8d93e1d14dfebdc05b6c4;hp=b0df10884a3f6e95cc46098c1aeeba39646c8a4d;hb=6c41dfae8a0d60cab2fd3b82f73b762972496c2c;hpb=61cad7bbaf63389b520b695eefdd735bc11a8aa6 diff --git a/tools/tutorial.ml b/tools/tutorial.ml index b0df108..397b96f 100644 --- a/tools/tutorial.ml +++ b/tools/tutorial.ml @@ -31,7 +31,7 @@ every 10 minutes : # Get free blocks in /home free=`stat -f -c %b /home` # Set the variable 'free_space' - whenjobs --type int --set free_space $free + whenjobs --set --type int free_space=$free >> Use 'when : << >>' runs the shell script only when