Cron Time Setup


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cron Time Setup
# 1  
Old 10-15-2008
Cron Time Setup

Hi Guys,

can someone help me how to setup a job in cron that runs each morning from 8-10 a.m. for every half an hour but starting from 8:50 a.m.?

so far i have this:

00,30 8-10 * * *

but the problem is that it starts at 8:30 instead of 8:50

Anyone?

Thanks!
# 2  
Old 10-15-2008
You'll need 2 lines:
Code:
50 8 * * *
20,50 9 * * *

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Time setup for different date

I want to get sleep time in T variable to start my script next day 22:59:59, if start and current date are different I am not able to achieve that(which is giving negative value), so am just adding +23 hours. But if the date are same I can able to get the sleep time, how to get sleep time if the... (1 Reply)
Discussion started by: rozee
1 Replies

2. Shell Programming and Scripting

Cron job - Need to run Cron every quarter at particular time

Hi, 1) If some job supposed to run on 1st of every month at 7 AM In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day? 2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct) And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies

3. Shell Programming and Scripting

setup cron job

HI I am new to unix . I wanted to create a cron job that runs a script every 10 min .So when I enter vi /etc/crontab I get the following output SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * *... (1 Reply)
Discussion started by: ptappeta
1 Replies

4. UNIX for Dummies Questions & Answers

Cron Tab Setup in Ubuntu

Hi, I need to install the crontab utility in Ubuntu. Can any one one tell me what exactly is the steps to do it? Thanks in Advanced (2 Replies)
Discussion started by: diehard
2 Replies

5. Solaris

System time and Cron time stamp not matching

On Solaris 10 server the system date won't match with the timestamp on files created by a cron jobs, Please help here is what i get when i check for system date infodba-ie10ux014:/tcpdv1_ie10/tcadmin/bin\n\r-> date Tue Apr 24 15:27:43 GMT 2012at same time i executed a cron job, and checked... (4 Replies)
Discussion started by: karghum
4 Replies

6. UNIX for Dummies Questions & Answers

Setup a cron job and specified the start and end time

Hi guys, How can I specify the start and end time of a cron job. And my start time and end time are specified by minutes. For example, I want to set up a cron runs every 3 minutes from 18:40 to midnight. How can i do this please? Many thanks Best regards, Clu (4 Replies)
Discussion started by: clu
4 Replies

7. Solaris

How to setup a cron job to run every 45 minutes in Solaris 5.10

How to setup a cron job to run every 45 minutes in Solaris 5.10 (9 Replies)
Discussion started by: reyazan
9 Replies

8. UNIX for Dummies Questions & Answers

Need to Setup cron entry in Crontab

how to schedule a job in cron on last sunday of every month?:mad: (1 Reply)
Discussion started by: tp2115
1 Replies

9. Solaris

XDMCP setup (only one time)

I tried to connect to a Solaris computer through XDMCP (through Xnest from an RHEL 4u4 computer), but it doesn't quite work. I can login once and everything works perfectly. If I log off and try a 2nd time, I can see the login screen, and can enter the username and password, and then if they are... (0 Replies)
Discussion started by: Claw84
0 Replies

10. UNIX for Dummies Questions & Answers

Setup Cron Job

Hello, I would like setup a CRON job to rename my server's name (host name) every day. For some reason it changes its own name every couple days to server-2.local fron server.local. Thank you! -Chris (3 Replies)
Discussion started by: christo16
3 Replies
Login or Register to Ask a Question