Sponsored Content
Full Discussion: Run cron job problem
Top Forums UNIX for Advanced & Expert Users Run cron job problem Post 67263 by blowtorch on Tuesday 22nd of March 2005 05:05:35 AM
Old 03-22-2005
If you are going to be skipping this script on only one single day (i.e. you want to skip it this Monday, but run it on all Mondays after that), you are best off hashing out this particular entry from the crontab file at 0000 hrs on that day, and unhashing it after 2359 hrs on the same day.
 

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
Date::Manip::Lang(3)					User Contributed Perl Documentation				      Date::Manip::Lang(3)

NAME
Date::Manip::Lang - date manipulation routines (language initialization) DESCRIPTION
This module is a series of routines, one per language, used to initialize the support for different languages in Date::Manip ADDING A LANGUAGE
Adding a language is easily done. If you want to add a language, refer to the list of words and phrases given below. Translate them into the desired language and email them to me. Note that Date::Manip does support international character sets, so if there are non-ASCII characters in the words, it's not a problem. Be sure to include an ASCII representation as well that can be used in cases where non-ASCII characters might cause problems. In many cases, alternate spellings are allowed, and there may be multiple words or phrases which fit, so please include all of them (with ASCII representations for any that include non-ASCII characters). Please translate ALL of the following. In some cases, a phrase is given in parentheses. It is not necessary to translate the phrase. They're there to show the word in the correct context. month names (January February ...) abbreviations (Jan Feb ...) day name (Monday Tuesday ... Sunday) abbreviation (Mon Tue ... Sun) short abbrev. (M T ... S) number suffix (1st 2nd ... 31st) spelled out (first second ... thirty-first now today tomorrow yesterday last (last day of the month) each (each Tuesday of the month) of (first day of the week) at (at 3:00) on (on Tuesday) next (next Tuesday) last (last Tuesday) exactly (in exactly 3 hours) approximately (in approximately 3 hours) business (in 4 business days) Some times of the day are named. At the very least, there is probably noon and midnight. Provide all named times, and the time of day. noon 12:00:00 midnight 00:00:00 The delta field names can be written or abbreviated in many differet ways. Provide all names and abbreviations for the seven fields. For example: years/year/yrs/yr/y months/month/mon weeks/week/wk/wks/w days/day/d hours/hour/hr/hrs minutes/minute/min/mn seconds/second/sec/s What words/phrases can be used to say that a time is in the future? E.g. IN 3 hours 3 hours LATER 3 hours IN THE FUTURE In the past? 3 hours AGO 3 hours PAST Does the language have an equivalent of the English AM/PM? If so, what are all possible values of each? Other than a comma or period, are there any common integer/decimal separators? For example: 1.25 can be expressed as 1.25 or 1,25 commonly. Are there any other ways? When expressing time the hours/minutes and minutes/seconds are typically separated by colons. Are there any other separators? If so, what combinations of the separators are used in real life? For example: 05h30:00. NOTE: there must be the same number of sephm and sepms values and the first sephm corresponds to the first sepms, etc. AUTHOR
Sullivan Beck (sbeck@cpan.org) You can always get the newest beta version of Date::Manip (which may fix problems in the current CPAN version... and may add others) from my home page: http://www.cise.ufl.edu/~sbeck/ perl v5.12.1 2010-01-12 Date::Manip::Lang(3)
All times are GMT -4. The time now is 07:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy