File tree Expand file tree Collapse file tree
2025/02/26/virtues-of-rex Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,8 +254,8 @@ <h4 id="local-and-remote"><a href="#local-and-remote">Local and remote</a></h4>
254254};
255255</ code > </ pre >
256256
257- < p > Running < code > rex show_hostname</ code > on the command line executes this task locally.
258- Running < code > rex ‑H myserver show_hostname</ code > executes the same on < code > myserver</ code > over
257+ < p > Running < code > rex show_hostname</ code > on the command line executes this task locally.
258+ Running < code > rex -H myserver show_hostname</ code > executes the same on < code > myserver</ code > over
259259SSH.</ p >
260260
261261< p > Need to run it on < code > myserver</ code > by default? Specify the default target for a task
@@ -294,7 +294,7 @@ <h4 id="push-and-pull"><a href="#push-and-pull">Push and pull</a></h4>
294294};
295295</ code > </ pre >
296296
297- < p > In this case we can add a cronjob to execute < code > git pull && rex converge</ code >
297+ < p > In this case we can add a cronjob to execute < code > git pull && rex converge</ code >
298298periodically, for example every 30 minutes.</ p >
299299
300300< p > Or consider using a task which keeps running, like an agent, and waits for an
Original file line number Diff line number Diff line change @@ -260,6 +260,10 @@ pre code {
260260 border : 1px solid var (--secondary );
261261}
262262
263+ p code {
264+ white-space : nowrap;
265+ }
266+
263267.highlight {
264268 padding : 1em ;
265269 display : block;
You can’t perform that action at this time.
0 commit comments