Hello,
I have a backup script that runs an rsync backup to an external drive. I use the script frequently on Windows and Linux and have installed it on a Mac. The script has an option to run shutdown after the backup has completed. Since backup can take hours to run, this is an option that is... (10 Replies)
Dear All,
I created a small script to get the CPU, GIS usage etc automatically. However when i run this script manually its working , but when i run through cronjob i am not getting any output.
Can anyone please help me on this. I am using SuseLinux.
Thank you in advance.
#!/bin/sh
{... (2 Replies)
This is probably a simple question, but I'm new with writing scripts for Linux (IPFire in this case) and Google wasn't helpful with this.
When creating a script, what is the best and/or proper way to have it exit automatically if the reboot or shutdown command is given? If that's even... (2 Replies)
hi everyone I'm newbie in this forum hope I can get some help here :)
I have a command in crontab that executed every 1 minute
sometime this command need more than 1 minute to finish
the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
I have a smart-ups connected to my OS X Snow Leopard server ver. 10.6. Based on the docs and forums I read, I have been trying to use the software provided by APC, PCNS. I have also tried to just use the UPS communications cable provided and use the OS' "UPS options". Neither of them work exactly... (1 Reply)
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS).
Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Dear Exerts,
I want to schedule a script which could run after every 35 minutes.
please find below the command but it is not woring and running after every 35 minutes.
35 * * * * /opt/home/backup/test_dir/abc.sh > /opt/home/backup/test_dir/abc_cronlog.txt
Please tell me what is the problem... (7 Replies)
solaris 10
logged in as root to command line...want to shut the system down....could not do this....when i chose shutdown the system seemed to squawk at me saying i'd lose whatever i was working on would be lost unless i logged out...after proceeding through this it took me to the gui log in... (6 Replies)
web2py(1) User Commands web2py(1)NAME
web2py - web2py Web Framework server launcher
SYNOPSIS
web2py [options]
DESCRIPTION
web2py is a the startup script to launch web2py server running applications located the current directory. If the user has not write per-
missions on this directory, web2py will server applications located at ~/web2py
ATTENTION: unless --nogui option or a password is specified (-a "passwd") web2py will attempt to run a GUI. In this case command line
options are ignored.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below. For a complete description, see the Info files.
--version
Show version of program and exit.
-h, --help
Show summary of options and exit.
-i IP, --ip=IP
Ip address of the server (defaults: 127.0.0.1)
-p PORT, --port=PORT
Port of server (defaults:8000)
-a PASSWORD, --password=PASSWORD
Password to be used for administration (use -a "<recycle>" to reuse the last password))
-c SSL_CERTIFICATE, --ssl_certificate=SSL_CERTIFICATE
File that contains ssl certificate
-k SSL_PRIVATE_KEY, --ssl_private_key=SSL_PRIVATE_KEY
File that contains ssl private key
-d PID_FILENAME, --pid_filename=PID_FILENAME
File to store the pid of the server
-l LOG_FILENAME, --log_filename=LOG_FILENAME
File to log connections
-n NUMTHREADS, --numthreads=NUMTHREADS
Number of threads (deprecated)
--minthreads=MINTHREADS
Minimum number of server threads
--maxthreads=MAXTHREADS
Maximum number of server threads
-s SERVER_NAME, --server_name=SERVER_NAME
Server name for the web server
-q REQUEST_QUEUE_SIZE, --request_queue_size=REQUEST_QUEUE_SIZE
Max number of queued requests when server unavailable
-o TIMEOUT, --timeout=TIMEOUT
Timeout for individual request (Defaults: 10 seconds)
-z SHUTDOWN_TIMEOUT, --shutdown_timeout=SHUTDOWN_TIMEOUT
Timeout on shutdown of server (Defaults: 5 seconds)
-f FOLDER, --folder=FOLDER
Folder from which to run web2py
-v, --verbose
Increase --test verbosity
-Q, --quiet
Disable all output
-D DEBUGLEVEL, --debug=DEBUGLEVEL
Set debug output level (0-100, 0 means all, 100 means none; default is 30)
-S APPNAME, --shell=APPNAME
Run web2py in interactive shell or IPython (if installed) with specified appname (if app does not exist it will be created).
-P, --plain
Only use plain python shell; should be used with --shell option
-M, --import_models
Auto import model files; default is False; should be used with --shell option
-R PYTHON_FILE, --run=PYTHON_FILE
Run PYTHON_FILE in web2py environment; should be used with --shell option
-T TEST_PATH, --test=TEST_PATH
Run doctests in web2py environment; TEST_PATH like a/c/f (c,f optional)
-C, --cron
Trigger a cron run manually; usually invoked from a system crontab
--softcron
Triggers the use of softcron
-N, --no-cron
Do not start cron automatically
-J, --cronjob
Identify cron-initiated command
-L CONFIG, --config=CONFIG
Config file
-F PROFILER_FILENAME, --profiler=PROFILER_FILENAME
Profiler filename
--nogui
Text-only, no GUI
-A ARGS, --args=ARGS
Should be followed by a list of arguments to be passed to script, to be used with -S, -A must be the last option
--interfaces=INTERFACES
Allows multiple interfaces to be served
AVAILABILITY
The latest version of web2py can always be obtained from http://www.web2py.com/examples/default/download
DOCUMENTATION
The Official web2py book is available at http://www.web2py.com/book
AUTHOR
web2py was written by Massimo Di Pierro <mdipierro@cs.depaul.edu>>.
This manual page was written by Jose L. Redrejo Rodriguez <jredrejo@debian.org>, for the Debian project (and may be used by others).
Debian January 30, 2011 web2py(1)