11-05-2012
sorry but I'm getting stupid ...
weekdayscript should start any day of the month except for the first and every day except for sunday.
weekendscript should start every first day of the month and only Sunday
is so or not??
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
Can any one please help in setting up crontab where the crontab entries are in a file say "crontabentries"
How to delete the crontab entries and how to register a file to crontab.
thanks
Satish (1 Reply)
Discussion started by: thaduka
1 Replies
2. AIX
Hi, am able to run manual backup on a client by going to /usr/tivoli/tsm/client/ba/bin and running dsmc incr command.
am running incremental backup.
my question was
1) suppose i want to run automated backup , should i put it in crontab and how to do that?
should i open crontab using crontab -e... (4 Replies)
Discussion started by: karthikosu
4 Replies
3. Solaris
Hello,
I have a Sun server and I want to edit the Crontab file. When I type "crontab -l" it lists the jobs scheduled. When I type "crontab -e" I get
"767"
And nothing comes up nor does anything seem to break this. I am running with "root" user and the screen is small enough. What is this... (2 Replies)
Discussion started by: bbbngowc
2 Replies
4. Shell Programming and Scripting
Hi there,
I have a doubt about how to set this up. This is the situation.
I have two files, one that is ~31,000 in length and has the following information (7 fields):
file1
1 + 100208127 100261594 6 100208127,100231680,100237404,100245177,100249508,100260529, ... (35 Replies)
Discussion started by: labrazil
35 Replies
5. Linux
Im setting up crontab to run a command at 0800
my current crontab entry is:
0 8 * * 1,2,3,4,5 tcpdump -s2000 -w'flowroute-%H%M.pcap' -G900 -W34
This should start the script at 800am monday through friday as i understand it.
I have tested this a couple times and it does not start as... (6 Replies)
Discussion started by: Nasasdge
6 Replies
6. Shell Programming and Scripting
Hi everyone
I am very new at awk and to me the task I need to get done is very very challenging... Nevertheless, after admiring how fast and elegant issues are being solved here I am sure this is my best chance.
I have a 2D data file (input file is a plain tab-delimited text file). The first... (1 Reply)
Discussion started by: stonemonkey
1 Replies
7. Solaris
hi all
while formatting hard disk i am getting following error.
Partition 1 ends at 266338338
It must be between 34 and 143374704.
label error: EFI Labels do not support overlapping partitions
Partition 8 overlaps partition 1.
Warning: error writing EFI.
Label failed.
I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies
8. Shell Programming and Scripting
Hi
I am trying to create a cron job but i get an error
I have 2 files my main shell script with html which is genWebsite.sh and another called config.sh which hold variables that I pass to genWebsite.sh by using the line ./source config.sh.
I want a cron job to refresh a html generated... (14 Replies)
Discussion started by: scriptnewbie
14 Replies
9. UNIX for Dummies Questions & Answers
Can crontab be removed from an AIX system. We had a script that was running on the system. It stopped working. An outside vendor said that crontab does not exist on the system. and that is why it is not running. How can i verify this and get it back on the systems if needed?
thanks (4 Replies)
Discussion started by: fierfek
4 Replies
10. Shell Programming and Scripting
hi,
problem:
output is not consistent as expected using external command in AWK
description:
I'm trying to convert $2 into a base64 string for later decoding, and for this when I use awk , I'm getting overlapped results , or say it results are not 100% correct.
my code is:
gawk... (9 Replies)
Discussion started by: busyboy
9 Replies
LEARN ABOUT OPENSOLARIS
holidays
holidays(4) File Formats holidays(4)
NAME
holidays - prime/nonprime table for the accounting system
SYNOPSIS
/etc/acct/holidays
DESCRIPTION
The /etc/acct/holidays file specifies prime time hours and holidays. Holidays and weekends are considered non-prime time hours.
/etc/acct/holidays is used by the accounting system.
All lines beginning with an * are comments.
The /etc/acct/holidays file consists of two sections. The first non-comment line defines the current year and the start time of prime and
non-prime time hours, in the form of:
current_year prime_start non_prime_start
Specify prime_start and non_prime_start times in the range of 0000 to 2400.
The remaining non-comment lines define the holidays in the form of:
month/day company_holiday
Of these two fields, only the month/day is actually used by the accounting system programs.
The /etc/acct/holidays file must be updated every year.
EXAMPLES
Example 1 An Example of the /etc/acct/holidays File
The following is an example of the /etc/acct/holidays file:
* Prime/Nonprime Table for the accounting system
*
* Curr Prime Non-Prime
* Year Start Start
*
1991 0830 1800
*
* only the first column (month/day) is significant.
*
* month/day Company Holiday
*
1/1 New Years Day
5/30 Memorial Day
7/4 Indep. Day
9/5 Labor Day
11/24 Thanksgiving Day
11/25 day after Thanksgiving
12/25 Christmas
12/26 day after Christmas
SEE ALSO
acct(1M)
SunOS 5.11 18 Aug 2008 holidays(4)