Sponsored Content
Top Forums Shell Programming and Scripting How to schedule a cronjob to run every 15 mins ? Post 302346901 by netmad0 on Monday 24th of August 2009 10:46:36 AM
Old 08-24-2009
15min interval

I use the following:

00, 15, 30, 45 * * * 0-6 /home/pgp/encyrptjob

# Min Hour Day Month Day
# of of of of of
# Hour Day Month Year Week Command
# (0-59) (0-23) (1-31) (1-12) (0-6) the directory and make the job executable
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do you schedule a command to run at 4:00 every morning?

How do you schedule a command to run at 4:00 every morning? (1 Reply)
Discussion started by: JosephGerard
1 Replies

2. Solaris

Schedule to run every 3 minutes - CRONTAB

Hello all, I want to run a script every 3 minutes in os level and to send mail. I scheduled in crontab as 3 * * * * /mnt1/monitorscripts/testdbstart.sh I got mail every one hour and I confirmed that the script is running every 1 hour which doesn't meet my requirment. Where I am... (4 Replies)
Discussion started by: prashanth_gs
4 Replies

3. Shell Programming and Scripting

run a command automatically after every 10 mins

Hi friends, I need to write a script which runs a command (on that particular server only) after every 10 mins, and the contents are also echoed on that very terminal only. And then I need to compare the last two outputs, and mail if there is any difference in the last two outputs. Can we set... (4 Replies)
Discussion started by: vikas027
4 Replies

4. Shell Programming and Scripting

How to run the particular command continously for 30 mins in perl?

Hi, I have command that should run continuously for 30 mins but not every day not once in a week , not one in a month. whenever i call that particular program that command should run for 30 mins and stop. #Contents of test.pl `ls -l *.txt`; #some other lines of code to print ... (1 Reply)
Discussion started by: vanitham
1 Replies

5. AIX

My script didn't run every run every minute at cronjob

In my cronjob, I would like to schedule my script.sh to run every minutes. I crontab -e and have in line below but it didn't seems to run at all. * * * * * script.sh When I run it manually, I can run it. Is that anything wrong with the above line? If I change it to something like below,... (4 Replies)
Discussion started by: ngaisteve1
4 Replies

6. UNIX for Dummies Questions & Answers

Best way to schedule script to run Ubuntu 10.04

On Ubuntu 10.04 LTS, I would like to know the best way to schedule myscript.sh to run at a specified time, please provide examples and specify things like does cron have to be running, how do I check if cron is running and all that. I have tried unsuccessfully in the past to run the AT command,... (1 Reply)
Discussion started by: glev2005
1 Replies

7. AIX

job run before schedule on crontab

Guys, yesterday i just make a script with email as a result and put them into crontab, it will execute on 23.33. Today, i recieved email from system twice as result the script. the first email send at 23.02 and the second send at 23.33 how is the script execute two times ? the first job run... (6 Replies)
Discussion started by: michlix
6 Replies

8. Shell Programming and Scripting

Schedule and Run By weekly shell script in cronjob

Hi All, How to schedule a shell script(script name- byweeklyreport.sh) it should run by weekly in corn job or is there any script have to write to check week and then run the above script. example-1st run March 06 2013 2nd run March 20 2013 3rd run April 3 2013... (13 Replies)
Discussion started by: krupasindhu18
13 Replies

9. Shell Programming and Scripting

Run Bash Script thrice & then interval for 10 mins.

Hi... I am very new to shell scripting. I have written a script with help of this forum and some googling and it works the way I want it to. Currently this script checks for my SIP trunk registration every 5 seconds, if registration is not available then it reboots my router through telnet... (4 Replies)
Discussion started by: jeetz
4 Replies

10. Shell Programming and Scripting

How do you schedule a job to run at 3:45 am every morning?

help me (2 Replies)
Discussion started by: sonu pandey
2 Replies
nl_langinfo(3int)														 nl_langinfo(3int)

Name
       nl_langinfo - language information

Syntax
       #include <nl_types.h>
       #include <langinfo.h>

       char *nl_langinfo (item)
       nl_item item;

Description
       The  function  returns a pointer to a null-terminated string containing information relevant to a particular language or cultural area. The
       language is identified by the last successful call to the appropriate category.	The categories are shown in the following  table  and  are
       defined in

       For  instance,  the following example would return a pointer to the string representing the abbreviated name for the first day of the week,
       as defined by category
       nl_langinfo (ABDAY_1);

       If the category has not been called successfully, data for a supported language is not available, or is not defined, then returns a pointer
       to an empty (null) string.  In the C locale, the return value is the American English string defined in the following table:

       -----------------------------------------------------------------------
       Identifier   Meaning			    C locale	  Category
       -----------------------------------------------------------------------
       NOSTR	    Negative response		    no		  LC_ALL
       YESSTR	    Positive response		    yes 	  LC_ALL
       D_T_FMT	    Default date and time format    %a %b %d
						    %H:%M:%S %Y   LC_TIME
       D_FMT	    Default date format 	    %m/%d/%y	  LC_TIME
       T_FMT	    Default time format 	    %h:%m:%s	  LC_TIME

       DAY_1	    Day name			    Sunday	  LC_TIME
       DAY_2	    Day name			    Monday	  LC_TIME
       ....	    ....			    ....	  ....
       DAY_7	    Day name			    Saturday	  LC_TIME

       ABDAY_1	    Abbreviated day name	    Sun 	  LC_TIME
       ABDAY_2	    Abbreviated day name	    Mon 	  LC_TIME
       ABDAY_3	    Abbreviated day name	    Tue 	  LC_TIME
       ....	    ....			    ....	  ....
       ABDAY_7	    Abbreviated day name	    Sat 	  LC_TIME

       MON_1	    Month name			    January	  LC_TIME
       MON_2	    Month name			    February	  LC_TIME
       MON_3	    Month name			    March	  LC_TIME
       ....	    ....			    ....	  ....
       MON_12	    Month name			    December	  LC_TIME

       ABMON_1	    Abbreviated month name	    Jan 	  LC_TIME
       ABMON_2	    Abbreviated month name	    Feb 	  LC_TIME
       ....	    ....			    ....	  ....
       ABMON_12     Abbreviated month name	    Dec 	  LC_TIME

       RADIXCHAR    Radix character		    .		  LC_NUMERIC
       THOUSEP	    Thousands separator 			  LC_NUMERIC
       CRNCYSTR     Currency format				  LC_MONETARY
       AM_STR	    String for AM		    AM		  LC_TIME
       PM_STR	    String for PM		    PM		  LC_TIME
       EXPL_STR     Lower case exponent character   e		  LC_NUMERIC

       EXPU_STR     Upper case exponent character   E		  LC_NUMERIC
       -----------------------------------------------------------------------

See Also
       intro(3int), ic(1int), setlocale(3int), environ(5int), nl_types(5int)
       Guide to Developing International Software

																 nl_langinfo(3int)
All times are GMT -4. The time now is 03:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy