I'm trying to configure SELinux on a Red Hat Enterprise Linux 6.2 web server that runs Apache 2.2.15 and Perl 5.10.1, and connects to remote Oracle databases. The Oracle 11.2g client is installed. The PHP scripts that access Oracle are working, but the Perl scripts are not.
I have a server that I've setup running PHP. This serves JSON files and is running fine.
I also have several scripts that reads data from an outside source, connects to my MySQL Database Server, and runs commands to save the data to the MySQL Server.
Currently I am using Bash Scripts that are executed via Cron.
Dear Community,
I've an urgent issue due to a migration of an application from HP-Unix to Linux.
We have a mass of scripts which are running at a dedicated server on hpunix.
Now we do not know, which further scripts exists on this machine. the idea is, that we crawl through the scripts we already know and identify further scripts which are addressed in those.
I run my python scripts in a Linux server and they are run successfully when I run it on the remote terminal using ssh. But when I run the commands using a crontab file, it cannot find certain files that are installed in the server. What difference does it make when I run the scripts using cron ? The cron file is in the same directory as my python scripts.
In my old shop, we only had AIX machines there (all of version 6.1 ). FTP ports were not open for these AIX machines because of some security thing.
Hi,
Has anyone tried the new Task Scheduler which integrates kcron?
I have created many tasks which kick start different shell scripts at different moments. Most of them are 'rsync' scripts for backup or other archiving process.
But one of them is a cleandrive script, which is written the following:
Code:
cd /
Dear *nix users.
I'm on Mac OS 10.6 / Terminal and try to use crontab to schedule two scripts every 30 minutes and every 41 minutes.
I followed the man instructions and created / installed a crontab file for the current user:crontab -e
with the following content
Code:
*/30 * * * * /usr/local/bin/Script1.sh
*/41 * * * * /usr/local/bin/Script2.sh
Here is the problem: Script1 runs every half
hello; Got a problem running monitoring scripts using sudo ssh.. Mgmt decided to take away root sudoers access.. so most of the scripts ran as:
Code:
sudo ssh $BOX ...
Now I need to run them as:
Code:
echo $my_pw | sudo -S -l my_user_id $BOX ...
I tried this but not working..
Any wisdom/tricks would be appreciated..
Thank you
Hey, i have a script i am trying to run through a cronjob. the problem is, for some reason it cannot be done through cron even though the script runs fine when manually run.
Code:
/home/axe/hma/hma-start && sleep 20 && su axe /bin/jail &
exit 0;
hma-start and jail are both shell scripts.