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)
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)
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)
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)
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)
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)
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)
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)
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 DEBIAN
lynis
Lynis(8) Unix System Administrator's Manual Lynis(8)NAME
Lynis - Run an system and security audit on the system
SYNOPSIS
lynis --check-all(-c) [other options]
DESCRIPTION
Lynis is an auditing tool for Unix (specialists). It checks the system and software configuration and logs all the found information into a
log file for debugging purposes, and in a report file suitable to create fancy looking auditing reports. Lynis can be run as a cronjob, or
from the command line. It needs to have full access to the system, so running it as root (or with sudo rights) is required.
The following system areas may be checked:
- Boot loader files
- Configuration files
- Common files by software packages
- Directories and files related to logging and auditing
OPTIONS --auditor <full name>
Define the name of the auditor/pen-tester. When a full name is used, add double quotes, like "Michael Boelen".
--checkall (or -c)
Lynis performs a full check of the system, printing out the results of each test to stdout. Additional information will be saved
into a log file (default is /var/log/lynis.log).
In case the outcome of a scan needs to be automated, use the report file.
--check-update (or --info)
Show program, database and update information
--cronjob
Perform automatic scan with cron safe options (no colors, no questions, no breaks).
--no-colors
Do not use colors for messages, warnings and sections.
--no-log
Redirect all logging information to /dev/null, prevent sensitive information to be written to disk.
--quick (-Q)
Do a quick scan (don't wait for user input)
--quiet (-q)
Try to run as silent as possible, showing only warnings. This option activates --quick as well.
--reverse-colors
Optimize screen output for light backgrounds.
--tests TEST-IDs
Only run the specific test(s). When using multiple tests, add quotes around the line.
Multiple parameters are allowed, though some parameters can only be used together with others. When running Lynis without any param-
eters, help will be shown and the program will exit.
BUGS
There are no known bugs. Bugs can be reported directly to author.
LICENSING
Lynis is licensed under the GPL v3 license and under development by Michael Boelen.
CONTACT INFORMATION
Project related questions and comments should be asked via http://www.rootkit.nl/contact/.
1.08 15 December 2009 Lynis(8)