Sponsored Content
Full Discussion: Run cron job problem
Top Forums UNIX for Advanced & Expert Users Run cron job problem Post 67220 by blowtorch on Tuesday 22nd of March 2005 01:35:18 AM
Old 03-22-2005
Are you going to need to skip this only on this Monday (i.e. only just once)? or is it going to be skipped on particular day(s)? In the second case, you can modify the entry as follows:

0 7-10 * * <days you want the script to run (0-6)(0 is Sunday)> <command>

Hope this helps!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

problem when the script is scheduled to run as cron job

Hello, I have problem in executing a shell script. When the shell script is executed at the shell prompt the script works successfully but when the same script is run as a cron job it fails to execute the files called within the shell script. I have scheduled the job in my crontab file as ... (6 Replies)
Discussion started by: forumthreads
6 Replies

2. Shell Programming and Scripting

Does not run via cron job

I have a perl script, when I ran manually it works perfect. I check the permissions which are fine. How can I find out why it is not running? how can I setup a log to check. I am running it on solaris 9. It compares multiple files, SCP and then send out an e-mail. As I said when I ran it... (2 Replies)
Discussion started by: amir07
2 Replies

3. UNIX for Advanced & Expert Users

Need help with a script run by a cron job.

Hi, new to this forum and not sure if this is the right place to post. I'm new to cron jobs and scripts, and I need some help with a script to be used with a cron job. I already have a bot set up at a certain website address and need a script that the cron job will load every day that tells it to... (1 Reply)
Discussion started by: klawless
1 Replies

4. Solaris

How to run CRON JOB IN SOLARIS ZONE ??

Hi I am new to solaris zones........... I created a zone in solaris and i am trying to add a cron entry to that by crontab -e but when I enter that command it is just showing 253 number..... But when I enter crontab -l there are some entries my question is how to add cron entry?? when... (3 Replies)
Discussion started by: vijaysachin
3 Replies

5. UNIX for Advanced & Expert Users

Use cron to run job every other week

my colleague was asking about this: is there a way to run a cron job biweekly, like a script five.sh to run every *OTHER* Friday within November its part about every other Friday we cant find any documentation. thx L (8 Replies)
Discussion started by: lydiaflamp
8 Replies

6. Shell Programming and Scripting

cron job to run on second to last friday each month

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)
Discussion started by: lupin..the..3rd
0 Replies

7. 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

8. Shell Programming and Scripting

Cron Job to Run for 30 minutes

Hello Gurus, I have a requirement to run a job from cron only for 30 minutes duration daily twice at 8.35 am and 20.35 pm Can you please suggest how to schedule the job? Thanks- Pokhraj (5 Replies)
Discussion started by: pokhraj_d
5 Replies

9. Shell Programming and Scripting

Cron Job to Run every 2 minutes

Hello Gurus, I want to schedule a cron job which will run every 2 minutes starts at 11:25 AM and 3:25 AM daily. Can you please suggest as how to schedule the job. Thanks- Pokhraj Das (2 Replies)
Discussion started by: pokhraj_d
2 Replies

10. Shell Programming and Scripting

Cron job cannot run the command

Hi, I created this cron job for asterisk to send sms daily to a number #!/bin/sh #custom mod - send sms once a day, at 07:00. CRON_PATH="/etc/asterisk/gw/crontabs_root"; if ! grep 'gsm send sms' $CRON_PATH > /dev/null 2>&1 ;then echo "* 7 * * * asterisk -rx 'gsm send sms 1 7666... (4 Replies)
Discussion started by: jazzyzha
4 Replies
ISDND.RATES(5)						      BSD File Formats Manual						    ISDND.RATES(5)

NAME
isdnd.rates -- isdn4bsd ISDN management daemon rates description file DESCRIPTION
The file isdnd.rates contains descriptions how long charging units last at a given time of day, day of week and the distance to the destina- tion. If this file is available, this information may be used by the isdnd(8) ISDN connection management daemon to calculate the short hold time for a connection. The format of a rate entry line is as follows: The first field, the (rate-code) defines a collection of rates (for each day of the week) which can be referenced in the isdnd(8) configura- tion file isdnd.rc(5). This field must start with the identifier ``ra'' followed by a digit in the range of zero to four. The second field, the (day-number) selects the day of week for which this entry defines the rates, where 0 stands for Sunday, 1 for Monday and so on until the digit 6 which stands for Saturday. The rest of the line consists of one or more space separated fields which have the following syntax: start_hour.start_minutes-end_hour.end_minutes:charge_unit_length Start_hour and start_minutes define the begin of a time section and end_hour and end_minutes define the end. Charge_unit_length define the length of a charging unit in the previously defined time section. No spaces or tabs are allowed inside this field. The hour and minutes specifications MUST have exactly 2 digits, in case just one digit is needed, a leading 0 must be used. For example, 14.00-18.00:90 defines, that between 2:00 PM and 6:00 PM the length of one charging unit lasts 90 seconds. FILES
/etc/isdn/isdnd.rates The default rates specification file for the isdnd ISDN daemon. EXAMPLES
The line: ra0 0 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240 defines the unit lengths for a Sunday. SEE ALSO
isdnd.rc(5), isdnd(8) AUTHORS
The rates subsystem for the isdnd(8) daemon to which isdnd.rates belongs was designed and written by Gary Jennejohn. The isdnd(8) daemon and this manual page were written by Hellmuth Michaelis <hm@kts.org>. BSD
September 11, 1998 BSD
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy