:cool:
I need to execute a shell script to do the following:
cat a file
run two back ground processes using the first two values from the file
wait till those background processes finish
run two more background processes using the next two values from the file
wait till those background... (1 Reply)
Hello everybody,
I'm trying to run a shell script in crontab file. But anyhow it's not getting executed. Following is the command that I've used in crontab.
30 07 * * * . ./.cronprofile;/om/reports/reportscripts/jitu/prod/prd_pre_to_post.sh
35 11 * * * .... (3 Replies)
Hi,
I need to execute a crontab based on a condition where one SH file should be executed only based on the output of a file in a folder.
I have written the following cron job which is not working.
00 01 * * * read a < /px/batch/reslut.txt && && sh /px/batch/check.sh
where my... (2 Replies)
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)
Hi Users,
I am Newbie to linux and cron. I have a requirement to run a job at 8 AM every Sunday.
I am using RHEL 5. Based on the hints through google search I created
crontab and added entry to call the shell script which will in turn login to Oracle user and execute a pl/sql block.
... (1 Reply)
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)
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)
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)
Hi,
I am really sorry for this question but still i am confused.
I have shell script called sample.sh
I can execute only with the combination of ./sample.sh
Is ./ really necessary ? Is it something related with $HOME or $PATH variable.
Why and How can i resolve this case ?
... (2 Replies)
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
LEARN ABOUT CENTOS
warnquota.conf
WARNQUOTA.CONF(5) File Formats Manual WARNQUOTA.CONF(5)NAME
warnquota.conf - configuration for warnquota
SYNOPSIS
/etc/warnquota.conf
DESCRIPTION
The warnquota.conf file stores a configuration for warnquota(8) tool which is used to notify an user or a group who exceeds its disk quota
limits.
The syntax is an option name followed by a equal sign and the option value. White space characters surrounding the option names and values
are allowed.
Empty lines or lines starting with a hash sign or a semicolon are ignored.
An option value can but does not have to be quoted. The value can span across multiple lines provided each previous line ends with a back-
slash.
Some option values can contain formatting sequences which will be expanded to their respective values. Following sequences are recognizes:
%d domain name
%h host name
%i, %s user or group name
%% literal % character
| new-line character
OPTIONS
CC_BEFORE Send to copy-carbon address only when an user has less than specified grace time left. Value is a number followed by a
time unit. Known units are seconds, minutes, hours, and days. Example: 5 days
CC_TO An e-mail address to put into copy-carbon (CC:) recipient header. Default value is root.
CHARSET Defines character set for sent e-mails. Default value will be current locale character set used when executing warn-
quota command, if locale is not either C or POSIX. Otherwise none character set will be specified in the e-mails.
FROM Defines From: e-email address. Default value is support@localhost.
GROUP_MESSAGE A text sent as an e-mail body if a group exceeds its limits. This option recognizes formatting sequences.
GROUP_SIGNATURE A signature text appended to notification for a group. Default value is a general explanation utilizing SUPPORT and
PHONE values. This option recognizes formatting sequences.
LDAP_BASEDN Base distinguished name for LDAP queries.
LDAP_BINDDN Bind distinguished name for LDAP queries.
LDAP_BINDPW Bind password for LDAP queries.
LDAP_DEFAULT_MAIL_DOMAIN
Default e-mail address domain of searched user if given LDAP attribute does not specify any.
LDAP_HOST LDAP server name to connect to if LDAP_URI is not defined.
LDAP_MAIL A boolean controlling if LDAP has to be used to look up an user's e-mail address. Possible values are true and false.
Default value is false.
LDAP_MAIL_ATTRIBUTE The LDAP attribute which holds user's e-mail address.
LDAP_PORT LDAP server port number to connect to if LDAP_URI is not defined.
LDAP_SEARCH_ATTRIBUTE
The LDAP attribute which holds user's ID to look up.
LDAP_URI The URL of LDAP server to use to search user's e-mail addresses. This option takes preference over LDAP_HOST and
LDAP_PORT. Example: ldaps://example.com:389/
MESSAGE A beginning of text sent as an e-mail body if a user exceeds his limits. This option recognizes formatting sequences.
MAIL_CMD The command to execute to send an e-mail. The e-mail text including all headers is passed to the standard input of the
command. Default value is /usr/lib/sendmail -t.
MAILDEV The device with disk quotas to exclude from sending notifications if there are exceeded limits. This option should
identify the device where mail boxes are stored to prevent from bouncing the warnquota notification by local MDA due to
no space for storing new e-mails. Special value any denotes all devices.
PHONE The telephone contact to the user support. Default value is (xxx) xxx-xxxx or (yyy) yyy-yyyy.
SIGNATURE The end of e-mail body if a user exceeds its limits. Default value is a general explanation utilizing SUPPORT and PHONE
values. This option recognizes formatting sequences.
SUBJECT The text to put into Subject: header. Default value is Disk Quota usage on system.
SUPPORT The contact to the user support. Default value is support@localhost.
EXAMPLE
# comment
FROM = root@example.com
SUPPORT = support@example.com
PHONE = 1234
FILES
/etc/warnquota.conf configuration for warnquota(8)SEE ALSO warnquota(8).
WARNQUOTA.CONF(5)