Perhaps we need to know a little more...
a) Why "for example"?
b) What are these tasks ( or what do you call task)? Processes, programs? jobs?
c) You know our policy is more strict on what we expect from people posting in shell/programming... We expect to see something you started showing us you tried to do it, but cannot...
d) what does:
?
So that we understand the difference between week and week-end
Hi ,
I am relatively new to unix...
Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell..
This is very urgent.
Thanks for ur help... (7 Replies)
Hi there,
I would like to write a script which while running will kill and then execute again a task every 15 minutes.
Here's what I want to do:
Al Jazeera English have a low quality, time-limited 15 minute trial stream up at their site. I.e. when I click on the 56K link, it will play in... (0 Replies)
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Hi all,
I am having a script ScriptA which is calling a script ScriptB in the same server and copying files to second server and have to execute one script ScriptC in the second server. THis First script ScriptA is the main script and i have to execute this process continously.
for Keeping... (2 Replies)
how can i run the script if its less than a particular time only in unix.
for e.g the script kicks off at 9AM and looks for some file etc. I want to make sure it runs only till 12PM and then succeed the job and proceed regardless if the file exists or not. how can we do this (1 Reply)
Hi,
I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it.
For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Hello Experts/Guru,
I need a help in running the script on every month last day....
PS: due to some constrain I can't schedule in crontab
Requirement:
On Jan 31st i want to run some script, similarly on Feb 28th, March 31st, April 30th......till Dec 31st.
Please help me by providing... (3 Replies)
Hello Guys,
I have a questions regarding running a shell script every second working day each month.
I have no clue how solve this problem :wall:.
Important is that it has to be the second working (Mo-Fr).
Example: If 1st and 2nd Days of month are Sat and Sun the script must run on 4th day... (5 Replies)
Hi Gurus,
I have requirement to run different task based on input value. the sample file as below:
file1 (contains code need to be run)
code
aaa1
aaa2
bbb
ccc
ddd
file2 (contains all codes and job name)
code job1 job2
aaa1, job_aa1, job_a2
aaa2, job_aa2, job_a2
aaa3,... (5 Replies)
Discussion started by: ken6503
5 Replies
LEARN ABOUT DEBIAN
gtimer
GTIMER(1) GTimer GTIMER(1)NAME
gtimer - an application for recording time spent on user-defined tasks.
SYNOPSIS
gtimer [-midnight offset] [-weekstart day] [-nosplash] [-resume] [-start task]
DESCRIPTION
GTimer allows the user to time one or more activities. Users define tasks that can be timed. Text annotations can also be added to tasks.
Reports can be generated that summarize time spent and annotations.
OPTIONS -midnight offset
Specify the offset of midnight to use. Users can allow time spent after midnight to be recorded for the previous day. For exam-
ple, the command
gtimer -midnight 400
will not consider everything 3:59AM the previous day.
-weekstart day
Specify which day of the week should be considered the beginning of the week when generating reports. day should be a number
between 0 and 6, where 0 is Sunday. For example, the command
gtimer -weekstart 1
will use Monday as the first day of the week for all weekly reports. The default is 0 (Sunday).
-resume Start timing any tasks that were still be timed when GTimer last exited.
-start taskname
Start timing the specified task immediately. This option can be used more than once on the command line. For example, you can
start a tasks with:
gtimer -start 'GTimer development'
-nosplash
Do not display the splash window on startup.
FILES
~/.gtimer/ data storage
SEE ALSO enscript(1), lpr(1)AUTHOR
Craig Knudsen <cknudsen@cknudsen.com> <http://www.cknudsen.com/>
GTimer WWW home page: <http://www.cknudsen.com/gtimer/>
GTimer Mar 19, 2003 GTIMER(1)