Hi,
I am trying to do achieving of files by months.
find /test -name \*.* -mtime +30
will give me the result of all modified files after 30 days.
But lets say i want to list all files that is modified in last months... what is the command to do it?
Thanks! (13 Replies)
I am trying to write a script that shows every Friday in a month.
I used
cal $1 $2 | grep -v "^$" | awk '{print $6}'
It doesn't work for the frist week of Friday because calendar command output has some spaces in the first line and awk '{print $6}' doesn't work. Anybody help
me with this... (3 Replies)
I needed a cron job to run on the second to last friday of every month. Our servers are running HP-UX, and the HP-UX date command is pretty basic and does not have all of the fancy options that Linux date command does, and it does not have the ability at all to return future dates. So I had to... (0 Replies)
Hi Expert
Please help me to set a cron job schedule,
Ihave a job that run every 3rd Friday of the month at 1030am.
I tried to set up like this, but the job still runs every friday at 1030am.
I want the job to run every 3rd Friday of the month at 1030am only
30 10 15,16,17,18,19,20,21... (2 Replies)
Hi All,
I need to find last two files for the month.
lets say there are following files in directory
-rwxr-xr-x 1 user userg 1596 Mar 19 15:43 c.txt
-rwxr-xr-x 1 user userg 1596 Mar 21 15:43 d.txt
-rwxr-xr-x 1 user userg 1596 Mar 22 15:43 f.txt
-rwxr-xr-x 1... (14 Replies)
Hi,
I want two dates one will be the current date and the other one will be just one month before. Say if current month is 11/4/2014 then the other date should be 11/3/2014.
#!/bin/ksh
currentDtae=`date`
oneMonthBefore= ?
I dont know how to do it. Went through some of the related threads... (15 Replies)
Hello,
I need to find the date of next first Friday of the month and set as a variable in a bash script
ie -
FIRSTFRIDAY=$(date -dfirst-friday +%d)
I know date -dfirst-friday doesn't work, but unsure if I can use this / cal + awk or something else to find the right date of the... (7 Replies)
Discussion started by: summerdays
7 Replies
LEARN ABOUT DEBIAN
wmclockmon-cal
WMCLOCKMON-CAL(1) User Commands WMCLOCKMON-CAL(1)NAME
wmclockmon-cal - A calendar to use with wmclockmon
SYNOPSIS
wmclockmon-cal [-h] [-v]
DESCRIPTION
This manual page documents briefly the wmclockmon-cal command.
wmclockmon-cal is a program that displays a calendar and TODO list with wmclockmon.
A calendar/TODO list can contain special lines that will be taken as alarms for wmclockmon. An alarm line MUST begin with an @, then con-
tain the time (hours and minutes un 24h format) and, at least, the message, such as :
@ 09:20 Prepare for RDV hairdresser at 9:30...
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-h, --help
show help text and exit.
-v, --version
show program version and exit.
FILE
wmclockmon-cal uses files in ~/.wmclockmoncal/. Each file contain a day's TODO list. Calendar files are all in form of yyyy-mm-dd. Yearly
files are in form of XXXX-mm-dd and monthly files are in form of XXXX-XX-dd. There are currently no weekly files since weekly alarms are in
wmclockmon's configuration file.
SEE ALSO wmclockmon(1), wmclockmon-config(1)AUTHOR
WMClockMon-cal was written by Thomas Nemeth <tnemeth@free.fr>.
wmclockmon-cal February 2004 WMCLOCKMON-CAL(1)