Sponsored Content
Full Discussion: crontab time
Top Forums Shell Programming and Scripting crontab time Post 302532588 by lhareigh890 on Tuesday 21st of June 2011 10:30:40 AM
Old 06-21-2011
crontab time

good day..how can I simply create a cron job that will be executed every 5mins from 12:01 to 7Pm..

is it like this

*/5 12:01-19 * * * <path>
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Start time/end time and status of crontab job

Is there anyway to get the start time and end time / status of a crontab job which was just completed? Of course, we know the start time of the crontab job since we are scheduling. But I would like to know process start and time recorded somewhere or can be fetched from a command like 'ps'. ... (3 Replies)
Discussion started by: thambi
3 Replies

2. Shell Programming and Scripting

Extracting time from Crontab

Hi, I am a beginner in shell scripting but I have a task to complete where I have to extract the time of script execution in human format so anyone can run the script and understand what script is running when in simple format. Let me illustrate what I mean: Two scripts in crontab, for this... (4 Replies)
Discussion started by: harjitsingh
4 Replies

3. Shell Programming and Scripting

need a clarification on crontab time format

hi, what exaclt means the below in crontab 30 8-20/2 * * 1-5 /home/devtest/run.sh (1 Reply)
Discussion started by: mail2sant
1 Replies

4. Shell Programming and Scripting

Crontab - how to make time range?

im puting script in crontab, script is executing every 15min, every day, every monath but i must make time range from 0:00 - 20:00 <> 20:30 - 0:00 or if i cant make 20:30 then 0:00 - 20:00 <> 21:00- 0:00 can i make it in single line like this? 7,22,37,52 0-23 * * * test.sh >/dev/null... (3 Replies)
Discussion started by: waso
3 Replies

5. Shell Programming and Scripting

How to set crontab for different Time Zone

Hi, I want to set cron job for different time zone from my machine. So here is what I did to set it. I am having a file cronfile, which I use to set cron jobs by using Crontab cronfile Now in cronfile I set TZ variable as Set TZ=Asia/Calcutta But now... (3 Replies)
Discussion started by: sarbjit
3 Replies

6. Solaris

Please help why my Crontab is not running on time?

I have set up my cron job on the solaris SunOS 5.10 Generic_138888-03 sun4u sparc SUNW,UltraAX-i2 but it is not running on time as expected. Would you please help me to find out what I did wrong? I want to have this cron job run once every month on the 1st Wednesday of the month, but it ran... (6 Replies)
Discussion started by: ggcc
6 Replies

7. AIX

crontab 1 hour off from current time

This is a new one on me. We upgraded a system from AIX 5.3 TL 7 to 6.1 TL 7 yesterday. The app people notified us that their cron jobs weren't running at the right time. So I made a test cron entry and here's what I've found: # crontab -l * * * * * /usr/bin/date > /tmp/test.log 2>&1 # cat... (2 Replies)
Discussion started by: homeyjoe
2 Replies

8. Shell Programming and Scripting

Script taking more time in CRONTAB

Hello All, I have created a shell script, When i run it manually as ./<script_name> it takes 5 hours to run, but when i am scheduling it in crontab, it is taking 20 hours to run. Please help me and advice, what can be done to reduce the time in crontab. Thank you (6 Replies)
Discussion started by: anand2308
6 Replies

9. UNIX for Advanced & Expert Users

Script only runs first time through crontab

Hello, I am trying to run a script through crontab and it runs the first time and then it does not run. I tried to run a simple script (as shown below) and I see the same issue. #!/bin/ksh clear echo "Good Morning, World." > /tmp/test123 Crontab Entry: 30 09 * * *... (9 Replies)
Discussion started by: hasn318
9 Replies

10. Shell Programming and Scripting

Crontab does not kick at the given time

I have crontab set to be triggered daily @ 8 am and 8:20 am server time. 00 08 * * * /web/scripts/check.sh 20 08 * * * /web/scripts/check.shuname -a Linux mymac 3.10.0-327.36.3.el7.x86_64 #1 SMP Thu Oct 20 04:56:07 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux ls -ltr /web/scripts/check.sh... (9 Replies)
Discussion started by: mohtashims
9 Replies
ATRUN(8)						    BSD System Manager's Manual 						  ATRUN(8)

NAME
atrun -- run jobs queued for later execution SYNOPSIS
atrun [-l load_avg] [-d] DESCRIPTION
atrun runs jobs queued by at(1). Root's crontab(5) must contain the line: */10 * * * * root /usr/libexec/atrun so that atrun(8) gets called every ten minutes. At every invocation, every job in lowercase queues whose starting time has passed is started. A maximum of one batch job (denoted by upper- case queues) is started each time atrun is invoked. OPTIONS
-l load_avg Specifies a limiting load factor, over which batch jobs should not be run, instead of the compiled-in value of 1.5. -d Debug; print error messages to standard error instead of using syslog(3). WARNINGS
For atrun to work, you have to start up a cron(8) daemon. FILES
/var/at/spool Directory containing output spool files /var/at/jobs Directory containing job files SEE ALSO
at(1), crontab(1), syslog(3), crontab(5), cron(8) AUTHORS
Thomas Koenig <ig25@rz.uni-karlsruhe.de> BUGS
The functionality of atrun should be merged into cron(8). BSD
April 12, 1995 BSD
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy