07-12-2010
How to Set up a cronjob On 4th Sunday of every Month?
How to Set up a cronjob which will run On 4th Sunday of every Month at 8:00 PM
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all
How can I schedule the cronjob to be run sometime at every first Sunday at every month? I have the edit the cronjob every month now, thanks (2 Replies)
Discussion started by: shanemcmahon
2 Replies
2. Shell Programming and Scripting
Hi ,
i need to reboot a server during 2nd and 4th saturday every month. i have come up with the below cron
30 17 8-14 * * if ; then /rebootscript; fi # to reboot every second saturday
30 17 22-28 * * if ; then /rebootscript; fi # to reboot every fourth saturday
I am wondering why it... (3 Replies)
Discussion started by: chidori
3 Replies
3. Solaris
I have deleted a particular cronjob couple of months ago but the jb is still running every sunday, even though it is not present in /var/spool/cron/crontabs/root file.
Please assist. (6 Replies)
Discussion started by: prash358
6 Replies
4. Shell Programming and Scripting
Hi,
Please can someone help me in getting first sunday date of a month.
i_year=`date +%Y`
ny_first_sun_nov=`cal 10 $i_year | sed '/^$/d' |head -3 |tail -1| rev | cut -c1`
This works good if the first sunday has a value but not if it is blank and first sunday falls on second week.
... (17 Replies)
Discussion started by: infyanurag
17 Replies
5. UNIX for Dummies Questions & Answers
Hello,
Can you please help me out in creating a cronjob that runs every 3rd business day of the month.
Thanks (2 Replies)
Discussion started by: AReddy
2 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I wanted to set Crontab for 4th and 25th of every month at 5:00 PM.
Script should take previous month and current year as command line arguement like...
/home/test1.sh -f ABCD 03 2014
so above script will run on 4th and 25th April 2014 but argument should be like previous month... (11 Replies)
Discussion started by: ajju
11 Replies
7. Shell Programming and Scripting
Hi All,
I need to set up cronjob for every third sunday of the month.
here i have seen one example for 4th sunday for every month in another post and it looks perfect.can anyone please help me to understand this and help me to get the setup for third sunday of every month.Thanks.
this is... (7 Replies)
Discussion started by: netdbaind
7 Replies
8. Shell Programming and Scripting
Hello All,
I have script which needs to be scheduled in crontab which needs to be run only on the first sunday of the quarterly months (March, June, September,Dec).
Can anyone please help me out on this.
Thanks,
Arun. (13 Replies)
Discussion started by: Arun1992
13 Replies
9. Shell Programming and Scripting
Hi ALL,
I have been testing this script to run for every last Sunday of the month,looks like month which have 5 sunday (july 2016 )is not passing this and failing every time.
Here is what I am using,
current_date=31
echo " CURRENT DAY -> $current_date"
if
... (2 Replies)
Discussion started by: netdbaind
2 Replies
10. AIX
Hi,
Actually scheduled my test scripts on test severs as shown below. They are supposed to run on 3rd sunday of every month.
Unfortunately it ran on 2nd sunday of the month (suspecting that it will run every sunday). I am sorry if I miss something. Could you please let me know if I did any... (1 Reply)
Discussion started by: System Admin 77
1 Replies
LEARN ABOUT FREEBSD
beastie.4th
BEASTIE.4TH(8) BSD System Manager's Manual BEASTIE.4TH(8)
NAME
beastie.4th -- FreeBSD ASCII art boot module
DESCRIPTION
The file that goes by the name of beastie.4th is a set of commands designed to draw the ASCII art FreeBSD mascot -- known simply as beastie
-- to the right of the boot loader menu. The commands of beastie.4th by themselves are not enough for most uses. Please refer to the exam-
ples below for the most common situations, and to loader(8) for additional commands.
Before using any of the commands provided in beastie.4th, it must be included through the command:
include beastie.4th
This line is present in the default /boot/loader.rc file, so it is not needed (and should not be re-issued) in a normal setup.
The commands provided by it are:
draw-beastie Draws the FreeBSD logo.
The logo that is drawn is configured by setting the loader_logo variable in loader.conf(5) to one of
``beastie'', ``beastiebw'', ``fbsdbw'', ``orb'', and ``orbbw'' (the default).
The position of the logo can be configured by setting the loader_logo_x and loader_logo_y variables in
loader.conf(5). The default values are 46 (x) and 4 (y).
clear-beastie Clears the screen of beastie.
beastie-start Initializes the interactive boot loader menu.
The loader_delay variable can be configured in loader.conf(5) to the number of seconds you would like to delay
loading the boot menu. During the delay the user can press Ctrl-C to fall back to autoboot or ENTER to proceed.
The default behavior is to not delay.
The environment variables that effect its behavior are:
loader_logo
Selects the desired logo in the beastie boot menu. Possible values are: ``fbsdbw'', ``beastie'', ``beastiebw'', ``orb'',
``orbbw'' (default), and ``none''.
loader_logo_x
Sets the desired column position of the logo. Default is 46.
loader_logo_y
Sets the desired row position of the logo. Default is 4.
beastie_disable
If set to ``YES'', the beastie boot menu will be skipped. The beastie boot menu is always skipped if booting UEFI or running
non-x86 hardware.
loader_delay
If set to a number higher than zero, introduces a delay before starting the beastie boot menu. During the delay the user can
press either Ctrl-C to skip the menu or ENTER to proceed to the menu. The default is to not delay when loading the menu.
FILES
/boot/loader The loader(8).
/boot/beastie.4th
beastie.4th itself.
/boot/loader.rc loader(8) bootstrapping script.
EXAMPLES
Standard i386 /boot/loader.rc:
include /boot/beastie.4th
beastie-start
Set a different logo in loader.conf(5):
loader_logo="beastie"
SEE ALSO
loader.conf(5), loader(8), loader.4th(8)
HISTORY
The beastie.4th set of commands first appeared in FreeBSD 5.1.
AUTHORS
The beastie.4th set of commands was written by Scott Long <scottl@FreeBSD.org>, Aleksander Fafula <alex@fafula.com> and Devin Teske
<dteske@FreeBSD.org>.
BSD
April 27, 2014 BSD