10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have created a cronjob that successfully executes and among other thing runs aria2c to download several files and save them to a folder. However, since it executes as sudo, the downloaded folder is saved with those permissions.
Is there a way to execute the cronjob so that the downloaded folder... (4 Replies)
Discussion started by: cmccabe
4 Replies
2. Shell Programming and Scripting
Hello All,
I have a script which will cd into a directory based on current timestamp.
It will then do a grep and search for a condition. It's run on a cron job that runs every 30 minutes. So if it finds a match in 00, it sends out the contents of that grep to an alert and emails out. Now... (3 Replies)
Discussion started by: liketheshell
3 Replies
3. Shell Programming and Scripting
Hi
I am writing a script to get the CPU and memory utilization periodically from glance command.
Wrote a script which consists of below two lines
Script name : Utilization.sh
#!/bin/sh
glance -iterations 1 | sed -n '/Util/p/'| awk '!/Disk/'| awk '!/Swap/' >> file.txt
I am able to run the... (5 Replies)
Discussion started by: Shravani
5 Replies
4. Shell Programming and Scripting
HI Folks,
Sorry for this basic confusion but please help me.
i want to execute one script at 9pm today. i want make this as schedule so it can execute automatically.
So am doing like this.
21 10 24 4 <here what can i keep) /tmp/stemp/testcron.ksh
Can you please help on this?
... (6 Replies)
Discussion started by: coolboy98699
6 Replies
5. Shell Programming and Scripting
Hi All,
How to schedule a shell script(script name- byweeklyreport.sh) it should run by weekly in corn job or is there any script have to write to check week and then run the above script.
example-1st run March 06 2013
2nd run March 20 2013
3rd run April 3 2013... (13 Replies)
Discussion started by: krupasindhu18
13 Replies
6. Shell Programming and Scripting
Hi,
I have developed a file deletion script and scheduled it in cronjob to run daily at 5:00 AM. But the script is not running automatically any day. However when I run the script manually at any time, it runs successfully. This is how the cron looks like :
0 5 * * *... (5 Replies)
Discussion started by: jhilmil
5 Replies
7. Shell Programming and Scripting
hi, please help, keep getting this bolded error and look it up and people say
its your environment variable though i tried to set it manually in expect..it run fine if i run it manually but once i run it by cronjob it error below..i tried to comment out ip/login info with *..
logfile::
START... (0 Replies)
Discussion started by: cssanangeles
0 Replies
8. Shell Programming and Scripting
Hi,
I am developing 1 script in which I need to execute one cron job running in different server and my script is in different server.
so can any one help me to execute the cronjob set in different server.
Thanks in advance. (1 Reply)
Discussion started by: mridul10_crj
1 Replies
9. Shell Programming and Scripting
Hi
My question needs two answers
how to write scripts to update a table in oracle db based on the result of the number of record counts
for example
i need to execute the following script every hour
awk '{sum++;}END{for(i in sum) {print i, sum}}' filename
here everyhour the... (3 Replies)
Discussion started by: aemunathan
3 Replies
10. Shell Programming and Scripting
Hi
I have a shell script, it run ok if executed from the path it is located at but doesnot run when the same is tried through cron-job.
can someone help me please.
regards
gaurav shrinivas
Email address removed (8 Replies)
Discussion started by: gauravshrinivas
8 Replies