the coldfusion would have tags that call bash >commands.
I re-iterate, cfexecute does precisely this. Simply write a little shell
script containing the relevant bash commands you want and save as restore.sh
(or whatever name you want) then execute restore.sh using cfexecute.
Jordan's method does indeed work and I've used the very same method in some
cases (except without cron) in order to build bash scripts on-the-fly using
cffile and simply executing them with cfexecute from the very same template
(use cftransaction here to ensure each stage is complete before moving on to
next stage).
In the case of requiring correct user permissions to run certain commands,
this can be dealt with from within the shell scripts themselves.
HTH,
Dave
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
