Run script from client
Brought to you by:
sfuchs
It would be nice to have a button on the client that
runs a script on the server. For example: I use my
server/gateway with linecontrol alsa as a mailserver
for the local network.
I could do this with a cronjob, but it would be nice if
i could start the script from the client. Maybe also a
notification when the script is ready.
Even better would be integration with fetchmail :)
Logged In: YES
user_id=15303
You could use a special line to exec a script on the server.
Just create a line with the con_type file and call your script in script_up.
Your script will have to create the file that is used by con_status_file at start
up and remove it when exiting.
Now the line will be online while the script is executing and go offline when
it's ready.
Logged In: YES
user_id=578518
Yes I thought of that too, it would be fine to have some
user defined scripts