I believe most crontabs would accept:
This would run on the first 15 days of a given month at 1am.
(I presume this is correct - your definition of "every 15 days a month" is slightly ambiguous)
Hi everyone,
I am trying to automate one process on Solaris OS.
This is what happens at the moment.
Every night at 19:30 and every hour after that we run a script that checks the status of databases. That script runs and prints if db's are OK at the end it states how many were down.
I am... (3 Replies)
Hi,
I have a ksh scrip (x) that scans a directory and does actions when a file arrives in this directory.
My question is what is the best way to schedule x?
1. Use cron tab and create a task running forever
2. Creat another ksh script (y) that runs (x) in a non-terminating loop
Which... (2 Replies)
Hi,
I need to write script which will read a value from XML file and schedule crontab accordingly.
I have an XML file which has a key value structure where the entries is:
<Param Name="executionInterval" Value="600" />
600 means that the crontab should be scheduled to run every 600 sec.
... (0 Replies)
Hi guys,
I am new guy for unix. I need help writing the following shell script.
My requirement is:
I have few pl/sql procedures(lets say 10). I want to run some of them (say 5) parallally in the background and once these are completed trigger the next ones one after other.
Could some one... (13 Replies)
Hi,
How can we run/schedule a shell script. Since there is no access to cron at this point of time we have to think other way out to run a script every hour.
How can we achieve this. Need advice.
How about using sleep,autosys etc...the script should trigger off every hour...which sends... (3 Replies)
Hi all,
My OS is Solaris 10. I want to schedule a job which i need to run between morining 6 to eve 6 once for every 2 hours. This is what i did.
0 6-18 * * 1-5 /monitor.sh
It runs for every hour how to make it for every two hours ......
Thanks,
Firestar. (1 Reply)
All,
Running the below script independently is working fine with no issue but once I am scheduling it in cron on my Linux environment it is not working.
Can anyone look into this and let me know what I have to modify here to schedule it properly.
09 03 * * 4 ksh 'cd... (1 Reply)
Hi,
We can schedule a new job using crontab -e.
is there any other way to achieve the same(opening the file directly and add an entry).
I have tried to access /var/spool/crontabs directory. But i am getting permission denied error,
Please help me. Thanks (8 Replies)
Hi,
I have my script in below path in UNIX
/storage/sas_source/SDTM-Development/FileWatcher/filewatcher.sh
I want to schedule it to run every 30 secs.
Please let me know the steps to do it.
Thanks. (7 Replies)
Discussion started by: prats_7678
7 Replies
LEARN ABOUT OPENSOLARIS
cal
cal(1) User Commands cal(1)NAME
cal - display a calendar
SYNOPSIS
cal [ [month] year]
DESCRIPTION
The cal utility writes a Gregorian calendar to standard output. If the year operand is specified, a calendar for that year is written. If
no operands are specified, a calendar for the current month is written.
OPERANDS
The following operands are supported:
month Specify the month to be displayed, represented as a decimal integer from 1 (January) to 12 (December). The default is the current
month.
year Specify the year for which the calendar is displayed, represented as a decimal integer from 1 to 9999. The default is the current
year.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of cal: LANG, LC_ALL, LC_CTYPE, LC_TIME,
LC_MESSAGES, and NLSPATH.
TZ Determine the timezone used to calculate the value of the current month.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO calendar(1), attributes(5), environ(5), standards(5)NOTES
An unusual calendar is printed for September 1752. That is the month 11 days were skipped to make up for lack of leap year adjustments. To
see this calendar, type:
cal 9 1752
The command cal 83 refers to the year 83, not 1983.
The year is always considered to start in January.
SunOS 5.11 1 Feb 1995 cal(1)