MONTHLY(5) BSD File Formats Manual MONTHLY(5)NAME
monthly, monthly.conf -- monthly maintenance
DESCRIPTION
The /etc/monthly script is normally run in the morning of the 1st of every month, on a NetBSD system. Note: this is disabled (commented out)
in the default root's crontab(5) file. The /etc/monthly.conf file specifies which of the standard monthly services are performed.
There are currently no monthly tasks.
FILES
/etc/monthly monthly maintenance script
/etc/monthly.conf monthly maintenance configuration
/etc/monthly.local local site additions to /etc/monthly
SEE ALSO daily(5), weekly(5)HISTORY
The /etc/monthly.conf file appeared in NetBSD 1.3.
BSD May 3, 2011 BSD
Check Out this Related Man Page
WEEKLY(5) BSD File Formats Manual WEEKLY(5)NAME
weekly, weekly.conf -- weekly maintenance
DESCRIPTION
The /etc/weekly script is run, by default, every Saturday morning on a NetBSD system. The /etc/weekly.conf file specifies which of the stan-
dard weekly services are performed.
The variables described below can be set to ``YES'' or ``NO'' in the /etc/weekly.conf file. The default settings are in the
/etc/defaults/weekly.conf file. (Note that you should never edit /etc/defaults/weekly.conf directly, as it is often replaced during system
upgrades.)
rebuild_locatedb This rebuilds the locate(1) database, /var/db/locate.database, which must also exist, in order to be rebuilt.
rebuild_mandb This rebuilds the apropos(1) database /var/db/man.db, using makemandb(8) with the -f option.
rebuild_whatisdb This rebuilds the whatis(1) database(s). Note that NetBSD provides a default whatis.db for the system manual pages and
this may not be needed. (Adjust your /etc/man.conf as necessary; see man.conf(5) for details.)
FILES
/etc/weekly weekly maintenance script
/etc/weekly.conf weekly maintenance configuration
/etc/weekly.local local site additions to /etc/weekly
SEE ALSO daily.conf(5), monthly.conf(5)HISTORY
The /etc/weekly script first appeared in 4.3BSD. The /etc/weekly.conf configuration file appeared in NetBSD 1.3.
BSD March 6, 2012 BSD
Hi all,
I've been succesful is sending mail (SCO box) using mail to one(1) person.
ie - mail -s "CPU Monthly Report" xxx@xxx.com < $xcpudata.
But how does one send mail to a number of persons?
Cheers,
Cameron (3 Replies)
pls can anyone help me with this script, the script is below, i need the script to get the previous month result every new month , the problem is that the loop has to be automated to always calculate for previous month .
a=`date "+%Y"` #this year to be used
b=$(date "+%Y%m" --date='49 days... (6 Replies)
Hi,
I have a lot of logfiles like fooYYYYMM.log (foo200301.log, foo200810.log) with lines like
YYYY-MM-DD TIMESTAMP,text1,text2,text3...
but I need (for postprocessing) the form fooYYYYMMDD.log (so foo200402.log becomes foo20040201.log, foo20040202.log...)
with unmodified content of lines.
... (1 Reply)
Hello,
I looked around but can't find a clear answer on this. Is there a way to shedule a box to reboot say on the first sunday of every month? Does it involve the cron.monthly file somehow, I googled and can't find how those cron.weekly, cron.monthly files function... This would be for Suse 9... (8 Replies)
Discussion started by: benefactr
8 Replies
5. Post Here to Contact Site Administrators and Moderators
Dear All,
Can someone tell me how do I setup autosys job where it needs to execute on monthly basis that too on 1st day of the month.
Thanks. (3 Replies)
Hi,
Second attempt at this, which I have gone down a different and seemingly long winded route but I don't know what other way to do it.
Task -
Create a template (or skeleton) script for our backup scripts to sit inside.
Background -
We currently run our monthly (every 28 days) and... (4 Replies)
Anyone know the normal and average monthly salary (and hourly wage for part time) for a solid Web Development in India?
Basic requirements. LAMP (Linux, Apache, MySQL, PHP), HTML, CSS, Javascript. vBulletin a plus, but not necessary.
Anyone have any idea? (5 Replies)
Hi Guys,
Can someone please help me on adding/inserting a variable to an sql scipt? Basically I want to generate data on monthly (i.e. July 01, 2011 to July 31, 2011) basis. As shown below..
set head off;
set linesize 300;
set pagesize 200;
spool /opt/oracle/temp/output.txt
select... (1 Reply)
Hi
I am still learning shell scripting, so for complex stuff, I need help.
I would like to have a script that produces sar monthly reports, so that I can produce a graph from it!
The idea is to use /var/adm/sa/<dir of sa files>Looking to hear from you.
regards (4 Replies)
Hi all,
I currently have a UNIX file maintenance script that runs daily as a cron job.
Now I want to change the script and create functions/sub inside it that runs on a weekly or monthly basis.
To run all the scripts' daily maintenance, I want to schedule it in cron as simply maint.sh... (1 Reply)
Hi Gurus,
Is there any solution for tracking the script(.sh) files triggered on daily or monthly basis from source - Datastage (Routines)
Needs to find out if this scripts are running on daily
just want to know that is there anything to track
Thanks in Advance (2 Replies)
Hi,
I want to archive files by month,
is there anyway of this code looks better?
find /tmp/w/ -type f -newermt '2014-01-01' ! -newermt '2014-02-01' | xargs tar -czvf files01.tar
find /tmp/w/ -type f -newermt '2014-02-01' ! -newermt '2014-03-01' | xargs tar -czvf files02.tar
find... (9 Replies)