#### crontab - how do I run a job every 5 minutes from cron?

Hi all,
I'm trying to figure out how to run a job every 5 mins from crontab.
On linux it seems to be possible by this line:
*/5 * * * * <command>
but AIX (4.3.3) doesn't like this.

 0
nospam52 (1566)
9/6/2006 6:24:05 PM
comp.unix.aix 10940 articles. 0 followers. drkirkby (98) is leader.

2 Replies
926 Views

Similar Articles

[PageSpeed] 31
EvB wrote:
> Hi all,
> I'm trying to figure out how to run a job every 5 mins from crontab.
> On linux it seems to be possible by this line:
> */5 * * * * <command>
> but AIX (4.3.3) doesn't like this.

In the minutes field, just put "0,5,10,15,20,25,30,35,40,45,50,55".

A bit long, but it'll work.


 0
robert.drea (106)
9/6/2006 6:32:57 PM
Ok thanks!

On 6 Sep 2006 11:32:57 -0700, "BD" <robert.drea@gmail.com> wrote:

>
>EvB wrote:
>> Hi all,
>> I'm trying to figure out how to run a job every 5 mins from crontab.
>> On linux it seems to be possible by this line:
>> */5 * * * * <command>
>> but AIX (4.3.3) doesn't like this.
>
>In the minutes field, just put "0,5,10,15,20,25,30,35,40,45,50,55".
>
>A bit long, but it'll work.


 0
nospam52 (1566)
9/6/2006 6:39:56 PM
Similar artilces about - crontab - how do I run a job every 5 minutes from cron?:

How US tech firms place job ads no-one will apply for -- so they can hire cheap foreign workers.
Read all about it, here: http://Muvy.org "Useful Info" <useful_inf@yahoo.com> wrote in message news:1182651886.354013.305670@k79g2000hse.googlegroups.com... > Read all about it, here: http://Muvy.org I think there is a tape from the programmers guild showing a presentation in which that particular technique was mentioned and/or promoted... "Chris Thomasson" <cristom@comcast.net> wrote in message news:RdGdnaYvk_HjR-DbnZ2dnUVZ_uKknZ2d@comcast.com... > "Useful Info" <useful_inf@yahoo.com> wrote in message > news:1182651886.354013...

Emacs Ada mode 5.1.1 and wisi 1.0.2 released
Emacs Ada mode 5.1.1 and wisi 1.0.2 are now available in Gnu ELPA, and on my web page: http://stephe-leake.org/emacs/ada-mode/emacs-ada-mode.html See the NEWS file there for release notes. The main changes are support for Emacs 24.2 (for Debian stable) and better support for aspects. There are also several bug fixes. -- -- Stephe ...

[VxW] RE: Ensuring that a task associated with an ISR always runs inlockstep with ISR
> 1.How can I ABSOLUTELY GUARANTEE that myDataPackagingTask runs > IMMEDIATELY > following the ISR.Is it by giving it higher priority than any other > thread in > the system ( say a priority of 0 or 1...maybe even higher than the > VxWorks > kernel)...Is it advisable to do this ? Has anyone ever done this > earlier...any potential problems.... It is not advisable to run the "user defined" tasks at priority higher than the priority of vxWorks system tasks. In your case, the application is dependent on "tNetTask" which should send the data over TCP. ...

Need to count runs and length of runs
Hi, I need to be able to count runs using binary data but I also need the length of those runs. I'm using Wei Li's runtest.m code but can someone show me how to calculate the length of all runs. I could do it somewhat laboriously using a for loop... Thanks, John function [z]=runtest(x) logic=(x>0); %extra only positive and negative sign, 1 positive, 0 negative run=diff(logic); %assign 1 or -1 to the beginning of the run. run=abs(run); %turn the negative run count into positive run=[1;run]; %add a starting run, complete the run count. n=size(logic, 1); n1=sum(logic); n2=n-n...

5.1.2 or 4.1
Returning to freebsd after a long absence. Already downloaded 5.1.2 ISO but thinking if I should use 4.1 stable. Any major issues with 5.1.2 as everyday workstation? comp.unix.bsd.freebsd is not widely propagated, so you won't necessarily get much help here (in comp.unix.bsd.freebsd). See http://www.freebsd.org/support.html for better ideas... [followups redirected accordingly] "max" <jinksj@hotmaildotcom> writes: > Returning to freebsd after a long absence. Already downloaded 5.1.2 ISO but > thinking if I should use 4.1 stable. Any major iss...

error in running "revtex4" class
Hi Everybody I have received a file which is written with =93revtex4=94 as its documentclass at preamble. My problem is in running this tex. Meanwhile running, WinEdt asks for =93aps.rtx.tex =93 . I can=92t find any file with such name at CTAN. Even in the simplest document like Below code \documentclass{revtex4} \begin{document} Test \end{document} it returns the mentioned error. Can anybody help me ? Best, nakisa Am Wed, 7 May 2008 05:12:42 -0700 (PDT) schrieb nakisa: > Hi Everybody > I have received a file which is written with �revtex4� as its > documentclass at preamble....

Re: OT: Sobriquet #5
Mary, Wow. When something like this happens (i.e. a celebrity and/or prominent po= litician dies), I completely abstain from TV and radio at least a number of= days depending on perceived magnitude of the "coverage" - this pretty much= guarantees that my ability to contain the gag reflex can cope with its res= idue, although I must admit that in some cases (notably, Princess Diana) ev= en a week is utterly insufficient.=A0 As to the question whether "Teddy" is a sobriquet for "Edward" - well, yes,= absolutely. However, I do no think it is a sobriquet for Edward...

[Wine] Questions: How about Running Windows Mobile Apps on Linux Smartphone
------=_Part_78492_30230735.1153186755084 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Just want to know if any such projects? 1)Running Windows Mobile Apps on Linux Smartphone 2)Running Symbian Apps on Linux Smartphone laotie ------=_Part_78492_30230735.1153186755084 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Just want to know if any such projects?<br>1)Running Windows Mobile Apps on Linux Smartphone<br>2)Running Symbian Apps o...

ACE + TAO version running on QNX
Hi everyone, My name is Adrian Noguero and I've been working with TAO for 3 years now. In the last few months I've been working on a project running over QNX Neutrino. The version we're using is QNX 6.3 SP 3. At the moment we're using OCI's TAO 1.3a which is the only version we've been able to fully build for this OS. We are aware that this is an ancient version and thus we were thinking in upgrading to a newer version, but some time ago we tested OCI's 1=2E4a and it didn't build. It'll be a must that we could use ACE, TAO and Naming Service. If...

My applet can not be run in Microasoft jvm, but can be run in Sun's, how can I solve?
I have written a java applets programs. When you open a web page, the applet will be downloaded automatically. But IE 6.0 does not have the built-in jvm. So if I want to run this applet, I should install jvm. I found two versions of jvm, one is from Microsoft and another is from Sun. When I install jvm of Microsoft, this applet can not work. But when I install jvm of Sun, this applet can work correctly. I have no idea of why this situation happens. If I want to fix this applet to fit two versions of jvm, how can I do? Regards. ripken95 wrote: > I have written a java applets prog...

Maximal 5 Minute
hi, I have installed mrtg on win2k server. The graph of traffic on my server, works very well. but I haved only GREEN ### Incoming Traffic in Bits per Second BLUE ### Outgoing Traffic in Bits per Second i want GREEN ### Incoming Traffic in Bits per Second BLUE ### Outgoing Traffic in Bits per Second DARK GREEN### Maximal 5 Minute Incoming Traffic MAGENTA### Maximal 5 Minute Outgoing Traffic how add maximal 5 minute traffic??? thanks for your help S�bas sgroulx wrote: > hi, > I have installed mrtg on win2k server. > The graph of traf...

Urgent: Need to run VO program in background
Urgent help to all VO wiz-kids (old wiz-geezers too)... We are writing an autorun application that starts at the same time every day through Windows task manager, it is preset at 2:00 am, this applicacation is loaded and creates daily charges to accounts, after it runs it should exit. While we have no problem having the task manager start out the application, we lose it after the EXEC() command is issued. We are unable to run the task and much less exit the application once is finished. We must use GUI, the application runs in 2 modes, automatic (in-out) or menu driven depending...

[ANN] Action Pack 0.7.5: On rails from request to response
It's with great pleasure that I present to you the first public release of Action Pack. I've been working on the framework for close to a year now, so it's a great relief to finally feel ready to share with the world. Alongside Active Record, this almost completes the release of the technology used to build Basecamp[1] -- a highly succesful and acclaimed web-application from the design masters at 37signals. Action Pack is a control-flow and template package for developing MVC-style web-applications. With Action Pack, you have the answer for the Controler and the View and is...

program running really slowly
I wrote the following program to calulate the stability of icebergs, I have only learned how to program in the last week and my program run extremely slowly, not sure if anyone can see why. %function to calculate orientations of stability function stabori global bergX global bergY global bergZ A=zeros(361); %create a 361*361 matrix of random numbers i=1; %iterations of x rotations j=1; %iterations of y rotations X=bergX; %x co-ordinates of berg Y=bergY; %y co-ordinates of berg Z=bergZ; %z co-ordinates of berg avgx1G = mean(X); % average of columns of x co-ordinates of berg avgxG = mean...

P.SQL V8.5
Continuing on with my problem turning security off on P.SQL V8.5 I decided to reinstall P.SQL V8 and P.SQL V8.50 First, I used PSA V 8.50 to uninstall all P.SQL/btrieve programs from the server and rebooted. I had to delete BTI.CFG manually as this stopped the P.SQL V8 install. I installed P.SQL V8 and rebooted the server. I installed P.SQL V8.50 and rebooted the server. I can access databases using the Control Centre and the SQL Data Manager but I still can't connect using OLE DB. Checking in the list of databases in the Control Centre, I still don't have a database called Default...

US-TX-Austin: Digital Design Eng., 5+yrs related DSP exp., algorithm; Perm , (45333657606)
US-TX-Austin: Digital Design Eng., 5+yrs related DSP exp., algorithm; Perm , (45333657606) ========================================================================================== Position: Digital Design Eng. Reference: SMC01825 Location: Austin TX Duration: Perm Skills: Both require a min of 5 Years Related DSP Experience Master�s in E.E. , PhD a plus Filter design DSP algorithm Fixed point implementation Mapping algorithms to digital implementation Micro coding/firmware...

Need list of running Apps
Hi, it's been quite a while since I've used Delphi - and I'm stuck. I need to build a list of running user apps, specifically the applications title. eg:- "Notepad - myfile.txt" Can anyone help? Google hasn't ! Many thanks, Roy. On Mon, 21 Aug 2006 10:19:46 +0100, "Roy Coates" <roy@mechnet.liv.ac.uk> wrote: >Hi, it's been quite a while since I've used Delphi - and I'm stuck. > >I need to build a list of running user apps, specifically the applications title. eg:- "Notepad - myfile.txt" > &g...

Re: HP3000 Hackers #5
Security3000 will down the port for you after X number of bad attempts. -----Original Message----- From: HP-3000 Systems Discussion [mailto:HP3000-L@RAVEN.UTC.EDU]On Behalf Of Williams John Sent: Wednesday, September 01, 2004 9:56 AM To: HP3000-L@RAVEN.UTC.EDU Subject: HP3000 Hackers Has anyone heard of someone hacking into an HP3000 system? We had a security consultant suggest that our system is vurnable because of the support modem. I know I can setup a modem password, but I'm not sure if this is necessary. Any suggestions? Thanks * To join/leave the list, searc...

Re: array assignment #5
Harry, Think of the array as really one long stretch of STATISTICALLY consecutive memory i.e. any holes, repeats, and reversals are statistically insignificant to how you think of it. Ian Whitlock ================ Date: Fri, 25 Nov 2005 17:24:35 -0500 Reply-To: "Droogendyk, Harry" <harry.droogendyk@RBC.COM> Sender: "SAS(r) Discussion" From: "Droogendyk, Harry" <harry.droogendyk@RBC.COM> Subject: Re: array assignment Content-Type: text/plain; charset="iso8859-1" David: Forgive me for being a nitpicker.... ...

Re: SAS/Graph RTF w/PNG device driver #5
Rose, Close your Sas and reopen it and try this data Sample; do Location='Atlanta','Raleigh','Denver'; do Quarter=1 to 4; Sales=ceil(ranuni(0)*100); output; end; end; run; goptions reset=all device=png xmax=7 in ymax=9 in ftext="Arial"; ods listing close; options orientation=portrait; ods rtf file='c:\temp\salespie.rtf'; proc gchart data=sample; pie location / sumvar=sales percent=inside; run;quit; ods rtf close; ods listing; There is no png file, but well a rtf file with graphic code inside like {\rtf1\ansi\ansicpg1252\uc1\deff0\deflang1036\de...

After 10.3.7 Combo -- Cannot run Software Update
After updating from 10.3.6 to 10.3.7 with the Combo updater, I can no longer run Software Update. If I use the Apple menu, nothing happens. If I get "About this Mac," the window opens and Software Update is greyed-out. The other option "More Info" runs system profiler just fine. Now, I can run software update from the terminal /usr/sbin/SoftwareUpdate ...and it runs fine. I can actually do an update by sudo /usr/sbin/SoftwareUpdate Any one else see this? How can I get Software Update back? -- Sally -- Sally Shears (a.k.a. "Molly") SallyShea...

Scripting crontab
Hello, I am looking for ways to script crontab editing. I have tried setting the VISUAL variable to the name of an ed (and later expect) script, before running 'crontab -e', as suggested by someone on StackOverflow (I think that's where it was), but to no avail: the crontab didn't get modified. Any suggestions? Many thanks. P On Thu, 19 Jul 2012 12:38:29 -0700 (PDT), phiroc@free.fr wrote: > Hello, > > I am looking for ways to script crontab editing. > > I have tried setting the VISUAL variable to the name > of an ed (and later expect...

Solaris 9: need root's crontab file
Due to a typo*, I erased root's crontab file without having a convenient backup on hand. I'm pretty sure I have properly reconstructed the file after looking at a Solaris 8 system, but if anyone could send me a copy of the stock file on Solaris 9 I would appreciate having the opportunity to check and make sure I didn't leave out any important commands. Thanks. -- Jeffery Small jeff@cjsa.com * Why does crontab(1) have so many ways to destroy a crontab file without confirmation! Especially when the E (crontab -e) and R crontab -r) keys are next to each other on the keyboard!...

(404) US-GA-Atlanta: Clarify 12.5, Thin Client (43318)
********************************************************************** This job posting is brought to you by ISHUNTER.COM, offering computer jobs for programmers, engineers, systems analysts, network administrators and other high technology professionals. Search over 3,000 IS/IT jobs in the United States by clicking on http://www.ISHunter.com ********************************************************************** Title ...... Clarify 12.5, Thin Client Skills ..... Clarify, Thin Client, Unix, Sun Location ... Atlanta, GA Area Code .. 404 Term ....... Contract Length...

Using libprefstat on AIX 5.3 dumps core
Hi, I juste compiled a sample program, used to monitor network throughpout with function from libperfstat.a. The problem is that the program dumps a core when it tries to execute this call: ret = perfstat_netinterface((perfstat_id_t *)FIRST_NETINTERFACE, stat, sizeof(perfstat_netinterface_t),tot); I tried on an AIX 5.3, ML04. The program and source are from: http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/ryo If I download the "net" binary, it works like a charm. I'm wondering... can someone with AIX 5.3 ML03 send me the /usr/lib/libperfstat.a ? I'm pretty su...