8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all -
I have a script which runs on the OS level, but refuses to run as a cron or as an Oracle job. The Script is pretty straight forward:
#!/bin/bash
username="MyUsername"
host="Remote.server"
path="Remote.directory/files/*.*"
password="MyPassword"
expect -c "
spawn /usr/bin/scp... (3 Replies)
Discussion started by: danimaltex
3 Replies
2. Shell Programming and Scripting
Hi guys, not sure if this would be the right place for this but I dont where else it would go... I'm new to Unix too, so please bare with me :)
I guess first up some background on the situation. We have some scripts that run as cron jobs which monitor and check the health, etc of our servers.... (2 Replies)
Discussion started by: BrianD
2 Replies
3. Shell Programming and Scripting
I need to do a work to my job, but i m new in script shell, someone can help with this.. :confused:
Description
Bsafe The command creates a backup directory of each month at the command line (arguments of the script). The names of directories to copy will always be specified for the... (4 Replies)
Discussion started by: strshel
4 Replies
4. What is on Your Mind?
I need opinion from other !
I finished high school for computer technician few months ago and now I can not find a job because I do not have any experience with servers , I know basic staff about Linux and Unix and Windows better (used three 4 years) (this is way I registered here at... (3 Replies)
Discussion started by: solaris_user
3 Replies
5. Shell Programming and Scripting
I have made a script to execute an IDL routine with the purpose to plot data on a fixed time.
The problem is that when I include this script in the crontab to run it every night, the IDL part doesn't work (the other commands, like getting data from the database, are carried out though).
This... (4 Replies)
Discussion started by: SharkM
4 Replies
6. UNIX for Dummies Questions & Answers
Hi,
automated FTP that have error check and each product FTP will used the same userid/password to post(transfer) the file(s) from their <product> directory at UNIX to their <product> folder at Windows.
such senarios as follows:
NOTE:
=======
** Variable **
* The <product> is variable... (3 Replies)
Discussion started by: songtam
3 Replies
7. Shell Programming and Scripting
Hi,
I've following code fragment as a part of 1 of my scripts.
Function is supposed to perform automated ftp to designated host.
Here are the details:-
#! /usr/bin/ksh
< some code>
perform_ftp()
{
#Assume that file to transfer is available in current directory
... (5 Replies)
Discussion started by: anijog
5 Replies
8. UNIX for Dummies Questions & Answers
I have a script in a directory -say users/me/test/
It looks like this:
# "bkup" - copies specified files to the user's ~/Backup
# directory after checking for name conflicts.
a=$(date +%T)
cp $1 ~/test/Backup/$1.$a
It copies file.txt from current directory and timestamps the name of it of... (4 Replies)
Discussion started by: coregan
4 Replies