I have the following crontab entry to run a shell script for every 30 minutes of every day:
30 * * * * $HOME/main.sh > $HOME/main.log 2>$HOME/error.log
after I created the crontab file I have also done:
$crontab my_crontab
I also check to make sure it exists, by using the following... (11 Replies)
The script checks for free space stats on Oracle. If there are any tablespaces with more than 85% usage it prints the details of the tablespace. If all the tablespaces have more than 15% free space, then "All tablespaces have more than 15 pct free space" must be printed on the screen.
When I run... (2 Replies)
Hi All,
Using Expect script when I run it manually it works. But when I put the entry in crontab, the job is still running after 15 hours. The script was created as root. I don't think it's a permission issue. Any idea?
This is what I have under root crontab...
00 18 * * 1-5... (4 Replies)
Hi everyone,
I've written a script, I gave it permission by
> chmod u+x myscript
and then tried to run it with
> myscript
and it didn't work, so I've written
> ./myscript
again, it didn't work, so I've written
> set path = (. $path)
but it didn't work as well.
I have some... (6 Replies)
Hi
I need once again you help guys,
I have a php script that should call and url on the local-server, when i call the script from the browser it just prints the $str and it doesn't call the url, but when i execute the script from the shell (php sentdata.php) it works.
I checked the apache... (6 Replies)
hi i have a script called test.sh. the content is ls >> crontest.txt.
if i run manually it's giving output.but if i scheduled in crontab it's not giving output.
crontab entry:
02 * * * * /sms5/SMSHOME/eds_sh/test.sh >> /sms5/SMSHOME/eds_sh/testfile/logfile 2>&1
I am using ksh.is there... (2 Replies)
Hello all,
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)
Hi every body,
I'm getting a trouble with my script , it's supposed to return a csv file .
/usr/bin/curl -LS -D- -X GET -H "Authorization:Basic $password" -H 'Content-Type: text/csv' -L -o $OUTPUT_FILENAME $url;
But I get an empty file with :
{"ErrorCode":1001,"ErrorMessage":"Incorrect login... (0 Replies)
Hi All,
We have a requirement to Integrate Cyber-Ark with Informatica .
Basically cyberark will contain the username and password for Database.
First step will be
1)In shell Script run curl command calling cyber-Ark RESTAPI requesting the credentials and store the secret in a variable.
... (0 Replies)
Discussion started by: Praveena9102
0 Replies
LEARN ABOUT CENTOS
emergencyanalysis_event.conf
EMERGENCYANALYSIS_EV(5) LIBREPORT MANUAL EMERGENCYANALYSIS_EV(5)NAME
emergencyanalysis_event.conf - configuration file for libreport.
DESCRIPTION
This configuration file defines events for the emergency analysis. These events are supposed to be used when the standard reporting process
fails.
By default the file contains definition for report_EmergencyAnalysis event applicable for all problem types.
report_EmergencyAnalysis event configuration file
The configuration for report_EmergencyAnalysis event is read from /etc/libreport/events/report_EmergencyAnalysis.conf file if exists.
The configuration file contains values for options defined in /usr/share/libreport/events/report_EmergencyAnalysis.xml
Configuration file lines should have PARAM = VALUE format. The parameters are:
Upload_URL
Configured upload URL
http_proxy
the proxy server to use for HTTP
HTTPS_PROXY
the proxy server to use for HTTPS
FTP_PROXY
the proxy server to use for FTP
EXAMPLE
The following example shows a possible configuration of report_EmergencyAnalysis event. In this particular case the event execution uploads
an archive with all problem data to configured URL.
EVENT=report_EmergencyAnalysis reporter-upload
SEE ALSO report_event.conf(5), reporter-upload(1)AUTHOR
o ABRT team
LIBREPORT 2.1.11 06/18/2014 EMERGENCYANALYSIS_EV(5)