Sponsored Content
Full Discussion: Crontab
Operating Systems HP-UX Crontab Post 302298014 by NicoMan on Monday 16th of March 2009 12:05:04 PM
Old 03-16-2009
Cron

Ups ... I realized the logic:

10,25,40,55 * * * * /bin/nnkill
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

crontab

Hi I have a shell script which works fine at the command line and does works in crontab also but does not send the output to mail as other scripts do by default. 10 1 * * * /export/home/test/report_script by default should send the output to mail but the script runs OK and the output... (1 Reply)
Discussion started by: run_time_error
1 Replies

2. UNIX for Dummies Questions & Answers

about crontab

dear all , does any one now how can i become sure that the crontab that i put was working successfully not by looking for thr result of the sheduled task but from a log for the crontab or something similar and i need to check that the cron i wrote is correct 00 15 * * 0,1,2,3,6... (2 Replies)
Discussion started by: habuzahra
2 Replies

3. UNIX for Dummies Questions & Answers

Crontab

How can I run "crontab" (parameters) every 6 hours on solaris machine? Thanks (1 Reply)
Discussion started by: gen4ik
1 Replies

4. Shell Programming and Scripting

help with crontab

i have a ksh script that creates messages in a temp directory and then sends them out using the sendmail command and i'm trying to set it up to run every night with crontab. So the basic gist of the script is #create temp dir and messages ... #loop through each message and send using sendmail... (3 Replies)
Discussion started by: bob122480
3 Replies

5. UNIX for Dummies Questions & Answers

crontab

hi all how to schedule the crontab file in unix? (2 Replies)
Discussion started by: ss4u
2 Replies

6. Shell Programming and Scripting

Using Crontab

Hi All, I've a shell script which calls a Sybase stored procedure to do some functionality. I want to schedule the running of this script by crontab. I'm using Solaris 5.8. When i executed the following command crontab -l i got the output as crontab: can't open your crontab file How... (10 Replies)
Discussion started by: sumesh.abraham
10 Replies

7. UNIX for Advanced & Expert Users

Crontab help

hi, I run a .sh file using crontab. I need to know the path of the file . Previously when I run the file alone , i used "pwd" but now when using crontab it gives the temp directory of the file. Is there any way I can find the absolute path of the file when i execute it ? Regards, Ranga (7 Replies)
Discussion started by: r_W213
7 Replies

8. UNIX for Advanced & Expert Users

Help regarding crontab

Dear All jobs are scheduled in crontab . To view this I use crontab -l . But suddenly today I am not able to see any jobs that is being scheduled in crontab. when I type crontab -l , I am seeing nothing.I am not logging through admin user(i dont have it).But I can schedule jobs through... (3 Replies)
Discussion started by: tkbharani
3 Replies

9. Shell Programming and Scripting

crontab

I have a crontab entry,but it is not working. Can anybody help me in this regard?? (2 Replies)
Discussion started by: Sourav_Paul
2 Replies

10. UNIX for Dummies Questions & Answers

at vs crontab

Hi, can someone explain the differences between using the at and crontab commands. When would you use one command over the other? TIA Dom (1 Reply)
Discussion started by: domburf69
1 Replies
XtRealizeWidget()														 XtRealizeWidget()

Name
  XtRealizeWidget - realize a widget instance.

Synopsis
  void XtRealizeWidget(w)
	 Widget w;

Inputs
  w	    Specifies the widget to be realized.  Must be of class Core or any subclass thereof.

Description
  XtRealizeWidget()  creates windows for the specified widget and all of its descendants.  If the specified widget is already realized, XtRe-
  alizeWidget() simply returns.  When a widget is first created, no X window is created along with it.	Realizing a widget is  the  term  for
  creating this window, and no widget can appear on the screen until it is realized.  The reason widget creation and window creation are han-
  dled separately is one of efficiency: when an interface is first created, there is an initial process of negotiating geometry and assigning
  a layout to each widget.  If the widgets had windows at this point, the geometry negotiation would require many XConfigureWindow() calls to
  the X server, which would significantly slow down application startup time.

  The "Algorithm" section below describes the procedure followed by XtRealizeWidget().

Usage
  Most applications will call XtRealizeWidget() once just prior to calling XtAppMainLoop() to process events.  The argument to	XtRealizeWid-
  get()  is  usually  the top-level widget returned from XtAppInitialize().  If more widgets are subsequently created, they do not need to be
  realized because when a widget is created as the child of a realized widget, it is automatically realized.  Popup shells are also automati-
  cally realized, if necessary, when they are popped up.

  You can test whether a widget is realized with XtIsRealized().  Until a widget is realized, certain functions will not operate as expected.
  XtWindow(), for example will not return a valid window if called with an unrealized widget.

  You can unrealize a widget (destroy its window) but leave the widget structure intact with XtUnrealizeWidget().

Algorithm
  If the widget is already realized, XtRealizeWidget() simply returns.	Otherwise it performs the following:

  o  Binds all action names in the widget's translation table to procedures.

  o  Makes a postorder traversal of the widget tree rooted at the specified widget and calls each non-NULL  change_managed()  method  of  all
     composite widgets that have one or more managed children.

  o  Constructs  an  XSetWindowAttributes  structure  filled  in with information derived from the Core widget fields and calls the realize()
     method for the widget, which adds any widget-specific attributes and creates the X window.

  o  If the widget is not a subclass of compositeWidgetClass, XtRealizeWidget() returns; otherwise it continues and performs the following:

     -	Descends recursively to each of the widget's managed children and calls the realize() methods.	Primitive  widgets  that  instantiate
	children are responsible for realizing those children themselves.

     -	Maps  all  of  the  managed  children  windows that have mapped_when_managed True.  If a widget is managed but mapped_when_managed is
	False, the widget is allocated visual space but is not displayed.

  If the widget is a top-level shell widget (that is, it has no parent), and mapped_when_managed is True, XtRealizeWidget() maps  the  widget
  window.

  XtCreateWidget(), XtVaCreateWidget(), XtRealizeWidget(), XtManageChildren(), XtUnmanageChildren(), XtUnrealizeWidget(), XtSetMappedWhenMan-
  aged(), and XtDestroyWidget() maintain the following invariants:

  o  If a composite widget is realized, then all its managed children are realized.

  o  If a composite widget is realized, then all its managed children that have mapped_when_managed True are mapped.

  All Intrinsics functions and all widget routines should accept either realized or  unrealized  widgets.   When  calling  the	realize()  or
  change_managed()  methods  for children of a composite widget, XtRealizeWidget() calls the procedures in reverse order of appearance in the
  CompositePart children list.	By default, this ordering of the realize procedures will result in the stacking order of  any  newly  created
  subwindows being top-to-bottom in the order of appearance on the list, and the most recently created child will be at the bottom.

See Also
  XtIsRealized(1), XtUnrealizeWidget(1),
  realize(4).

Xt - Widget Lifecycle														 XtRealizeWidget()
All times are GMT -4. The time now is 05:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy