Sponsored Content
Top Forums Shell Programming and Scripting How to continue running a script while offline? Post 302533971 by sk1418 on Sunday 26th of June 2011 06:22:25 AM
Old 06-26-2011
you may want to check "screen" or "tmux". both can do exactly what you want.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Process launched by user who logs out, continue running ?

Lets say a user starts a process (either a shell script or a Perl script) and before that process finishes, he logs out (either intentionaly or network problems or ...), does the process continu running ? Default shell is Korn. This is because at my job (being trained), there are tasks to run... (2 Replies)
Discussion started by: Browser_ice
2 Replies

2. Shell Programming and Scripting

Continue Script when File Found

Hello All, I am trying to write a script that will only continue executing my script if a file exits. I know the directory of the file, so its just a matter of seeing if the file exists yet. If the file has not yet been created, I want the script to wait 10 minutes (600 seconds) and try again.... (7 Replies)
Discussion started by: Jose Miguel
7 Replies

3. Shell Programming and Scripting

continue line in perl script

HI , I am new to the perl , I am using a if condition and in that if condition i am checking 7 variables value. so it continue to second line .And if i user "\" for the continue line it showing error. Example : if(a >9 || b>8 || c> 10 \ d > 11) { print(); } The above statement is... (3 Replies)
Discussion started by: julirani
3 Replies

4. Shell Programming and Scripting

Server Staus offline to online -Shell script

Hi, We put cron entry :whenever server is offline(checks every 5 minutes) it sends status to mailer group. The number of messages (offline)were growing in our mailbox.How to avoid not to send offline messages after the first one through shell script. Thanks in advance. Chowdary (2 Replies)
Discussion started by: chowdary_m
2 Replies

5. Shell Programming and Scripting

How to continue script if right word is not entered?

Hello, I am writing a script and in this script, I want to be able to have the script continue running if the correct word is not entered... Here is an excerpt from me script: read request if ; then echo "You have asked for the System Temperature..." cat... (1 Reply)
Discussion started by: niconico96
1 Replies

6. Shell Programming and Scripting

Doing a tail in a script and then return back and continue script

Hello all, I am trying to do a tail in a script. But when I quit the tail my script quits also. This is not what I want. I am struggling to get this done. #!/bin/bash askFile() { echo -n "Enter file: " read FILE } doTail() { tail -F "${1}" } askFile doTail... (4 Replies)
Discussion started by: markdark
4 Replies

7. Shell Programming and Scripting

Restart and then continue script

How can I get a script to complete a update, varifiy completion, resboot, and continue with script? Is it possbile to get script to add itself to the "startup application" list #!/bin/bash clear sudo apt-get update #Verify/test the update completed #Reboot #Start/comtinue... (9 Replies)
Discussion started by: wolfgangcs
9 Replies

8. Shell Programming and Scripting

Continue an instruction on more than one line in a script shell ?

Hello, I have a very long instruction to write, but, for lisibility reasons, I would like to cut it on more than one line and comment each lines. is it possible ? thanks :b: (1 Reply)
Discussion started by: shadok
1 Replies

9. Shell Programming and Scripting

solaris create password in a script and continue

:eek:Below is my code to create a user account but it doesn't take a password automatically. I have to run the password command seperately to do this What I want to do is to be able to accept the password in a script. In linux with the "useradd' command you can give the "-p" flag to accept the... (3 Replies)
Discussion started by: slufoot80
3 Replies

10. UNIX for Beginners Questions & Answers

How to continue shell script after exit 0?

Hi, I am writing a shell script where I am sourcing other shell script in that script I have mention exit 0 due to that it is not continue the first script. Except doing any changes to source script is there any way I can continue the my first script. (3 Replies)
Discussion started by: sonujatav
3 Replies
BlackPixelOfScreen(3X11)					     MIT X11R4						  BlackPixelOfScreen(3X11)

Name
       BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOf-
       Screen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, Max-
       CmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and
       macros

Syntax
       BlackPixelOfScreen(screen)

       WhitePixelOfScreen(screen)

       CellsOfScreen(screen)

       DefaultColormapOfScreen(screen)

       DefaultDepthOfScreen(screen)

       DefaultGCOfScreen(screen)

       DefaultVisualOfScreen(screen)

       DoesBackingStore(screen)

       DoesSaveUnders(screen)

       DisplayOfScreen(screen)

       int XScreenNumberOfScreen(screen)
	  Screen *screen;

       EventMaskOfScreen(screen)

       HeightOfScreen(screen)

       HeightMMOfScreen(screen)

       MaxCmapsOfScreen(screen)

       MinCmapsOfScreen(screen)

       PlanesOfScreen(screen)

       RootWindowOfScreen(screen)

       WidthOfScreen(screen)

       WidthMMOfScreen(screen)

Arguments
       screen	 Specifies a pointer to the appropriate structure.

Description
       The macro returns the black pixel value of the specified screen.

       The macro returns the white pixel value of the specified screen.

       The macro returns the number of colormap cells in the default colormap of the specified screen.

       The macro returns the default colormap of the specified screen.

       The macro returns the default depth of the root window of the specified screen.

       The macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.

       The macro returns the default visual of the specified screen.

       The macro returns or which indicate whether the screen supports backing stores.

       The macro returns a Boolean value indicating whether the screen supports save unders.

       The macro returns the display of the specified screen.

       The function returns the screen index number of the specified screen.

       The macro returns the root event mask of the root window for the specified screen at connection setup.

       The macro returns the height of the specified screen.

       The macro returns the height of the specified screen in millimeters.

       The macro returns the maximum number of installed colormaps supported by the specified screen.

       The macro returns the minimum number of installed colormaps supported by the specified screen.

       The macro returns the number of planes in the root window of the specified screen.

       The macro returns the root window of the specified screen.

       The macro returns the width of the specified screen.

       The macro returns the width of the specified screen in millimeters.

See Also
       AllPlanes(3X11), ImageByteOrder(3X11), IsCursorKey(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

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