If you can login remotely to the AIX server, then your .profile script in the home directory could execute a script and then exit eg:
PATH=:/runtime:/runtime/scripts:/bin:/usr/bin:/etc:/usr/local:/usr/ucb
PRINT=/usr/local/print.sl
TERM=vt220
APPLOG=/data/logfiles/application_errs.log
PS1='$USER'" on "`hostname`": "'$PWD'" > "
export PATH PRINT TERM PS1
umask 011
set -o vi
if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi # periodically.
# execute a script and finish
your_script Dickie Bird (-)))
You could ftp a 'trigger' file to the unix server which is running a background process (daemon) which spends most of its time sleeping until the trigger file is detected. The daemon then invokes your script, waits for it to finish, removes the trigger file and then goes back to sleep until the next time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.