10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to write a script to gather and send data and it works just fine at the bash command line, but when executing from CRON, it does not run properly.
My scripting skills are pretty limited and there's probably a better way, but as I said it works at the command line, but... (12 Replies)
Discussion started by: rusman
2. Shell Programming and Scripting
#shopt -s expand_aliases
rm $UPDATE_MAIL -rf
git log --no-merges --since="20 day ago" --name-status --pretty=format:"%an %h %s %cd" origin/WRLINUX_5_0_1_HEAD >>... (2 Replies)
Discussion started by: yanglei_fage
3. Shell Programming and Scripting
how can i pass a password automatically when a shell script is running.
i have shell script(runscript.sh) which call another shell script inside it as a different user.
su - nemo -c "/bin/main_script.sh"
but when i execute "runscript.sh" it try to run... (7 Replies)
Discussion started by: Little
4. Shell Programming and Scripting
I am using awk to read lines from a CSV file then put data into other files. These other files are named using the value of a certain column. Column 7 is a name such as "att" or "charter" . I want to end up with file names with the value of column 7 appended to them, like this:
... (5 Replies)
Discussion started by: dodgerfan78
5. Shell Programming and Scripting
I have a script which checks to see if an app is running and will restart it if it is not.
For some reason when I run it from the crontab it always says it is not running.
The script is as follows: -
# The following script will look for the PID of SickBeard and output... (15 Replies)
Discussion started by: simpic
6. Shell Programming and Scripting
I have a local linux machine in which the files are dumped by a remote ubuntu server. If the process in remote server has any problem then empty files are created in local machine. Is there any way using perl script to check if the empty files are being created and delete them and then run a shell... (2 Replies)
Discussion started by: hussa1n
7. Red Hat
How can i perform a ls or other command to list the full paths of files from a ls?
Looked through the man page for ls, no luck
$ cd /tmp/
$ ls -l
drwx------ 2 root root 4096 Nov 7 2008 keyring-7b5rMv
drwx------ 2 bcr bcr 4096 Dec 7 2007 keyring-cGhir8
I'd be looking for... (1 Reply)
Discussion started by: brendan76
8. Shell Programming and Scripting
Just to find out a way to compare these 2 files and give unique output.
8 (1 Reply)
Discussion started by: rauphelhunter
9. Shell Programming and Scripting
I have a script running in the crontab that gets data from a database every hour. Now I would like to execute a fortran routine to process the data in some way, after getting it and saving it locally.
I have added the following commands to my script:
set convert =... (1 Reply)
Discussion started by: SharkM
10. Shell Programming and Scripting
I am trying to schedule a job in linux through the crontab command.My script actually does some text processing and echoes some output.My cron scheduler is working fine,but the output messages(echoes from script) is mailed to my mail account(in unix -/var/local/mail).Is it not possible... (0 Replies)
Discussion started by: DILEEP410