I would say you don't need to schedule it for every day and test to run it on Sundays only. Just schedule it to run on Sundays (i.e. the fifth column being ZERO) as:
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)
Discussion started by: neyo
6 Replies
3. 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)
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
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,
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)
Discussion started by: prpkrk
9 Replies
LEARN ABOUT MINIX
reboot
REBOOT(8) System Manager's Manual REBOOT(8)NAME
reboot - reboot the system immediately
SYNOPSIS
reboot [-f]
DESCRIPTION
Reboot can be used to reboot the system after installing a new kernel. It does not inform the users, but does log it's actions in
/usr/adm/wtmp and /usr/adm/authlog. The system is then rebooted with the reboot(2) systemcall.
If the -f flag is not given then all processes are sent terminate signals to give them a chance to die peacefully before the reboot() call.
If the wtmp file exists, reboot logs itself as if it were a shutdown. This is done to prevent last(1) from talking about system-crashes.
Reboot is registered as is in the authlog file.
Reboot can only be executed by the super-user. Any other caller will be refused, either by reboot(8) or by reboot(2).
SEE ALSO reboot(2), shutdown(8), halt(8), boot(8).
BUGS
The error message's given by reboot are not always useful. There are several routines that can fail, but which are not fatal for the pro-
gram.
AUTHOR
Edvard Tuinder (v892231@si.hhs.NL)
REBOOT(8)