Hi,
I'd like to run my script from /etc/inittab
I add the following line to it:
infx:3456:once:/tmp/for_test >/dev/console 2>&1
The script has -rwxr-x-r-x permission
The script content:
-------------------------------------------
#!/bin/ksh
echo "running for_test script"
touch...
Hi,
I using shc shell compiler for hide my script code.
I compile and run the script.
But ps command allows to see script code.
I.e:
ps -ef|grep myscript
Any suggestions?
Thanks in advance,
Vadim
Hi,
I run command ps -ef in Solaris 10.
Almost all my processes have controlling terminal = console.
(including /sbin/init and svc.startd)
svcs -x command doesn't report any errors.
Please help.
Thanks,
Vadim
Hi,
Please let me know what is wrong here(I use tcsh):
alias abc "awk -F= '{print $2}' File|awk -F\" '{print $2}'"
I get unmatched ".
How can I define double-quote separator in the second awk?
Thanks in advance,
Vadim
Some reasons:
1. this script will be distributed on many servers.
We can update one input file and distribute it instead of updating crontabs.
2. we have many users with root access. Crontab entries can be removed by mistake.
3. Sometimes cron daemon has problem to start or hang.
Hi,
I am looking for a script that like cron daemon can read input file written in crontab format.
And run the jobs from the input file when needed.
Thanks in advance,
Vadim
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.