Running the Operational Codes for the Brahmaputra Tom Hopson.

Slides:



Advertisements
Similar presentations
Basic Unix system administration
Advertisements

1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
WebGoat & WebScarab “What is computer security for $1000 Alex?”
CSCI 330 T HE UNIX S YSTEM Shell Job Control. T ODAY ’ S CLASS Unix is multi-user, multi-process OS Shell features to control jobs Unix utilities to manage.
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 12.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Now, return to the Unix Unix shells: Subshells--- Variable---1. Local 2. Environmental.
More Shell Basics CS465 - Unix. Unix shells User’s default shell - specified in /etc/passwd file To show which shell you are currently using: $ echo $SHELL.
Chapter 9 Periodic Processes. Computer Center, CS, NCTU 2 CRON – Schedule Commands (1)  What we want? Do things at right time automatically  cron daemon.
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Introduction 2: Internet, Intranet, and Extranet J394 – Perancangan Situs Web Program Sudi Manajemen Universitas Bina Nusantara.
Introduction to Unix (CA263) Introduction to Shell Script Programming By Tariq Ibn Aziz.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
UNIX Processes. The UNIX Process A process is an instance of a program in execution. Created by another parent process as its child. One process can be.
Creating a Web Presence Introduction to WordPress Week 1.
Chapter 1: Introduction to Web
Introduction to Shell Script Programming
Yi Shen Mar 18 th, Backup workshop Stanford Exploration Project.
JavaScript, Fourth Edition
Chapter 9 Scripting RMAN. Background Authors felt that scripting was a topic not covered well Authors wanted to cover both Unix/Linux and Windows environments.
Automating JobSubmission Shutdown and Startup April Sims OCP 8i 9i DBA Southern Utah University.
 The tag to create a link is called, which stands for anchor.  You put the address of the page to link to in quotes after href=, like the following:
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Linux Network Configuration Linux System Administration /etc/resolv.conf Tells the kernel which name server should be queried when a program asks to "resolve"
Running the Operational Codes for the Brahmaputra Tom Hopson.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Chapter 9 – Cookies, Sessions, FTP, and More spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science.
Hands-On Microsoft Windows Server Implementing Microsoft Internet Information Services Microsoft Internet Information Services (IIS) –Software included.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 9: Linux Network Services Chapter 16: Administration Tasks By Fred R. McClurg Linux Operating.
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 8 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Building Your Web Site ATS 315. Your Project Make a web site that shows plots that YOU generated! Plots should regenerate every hour!
Core System Services. INIT Daemon The init process is the patron of all processes. first process that gets started in any Linux/ UNIX -based system.
Track Short Course: TrackRT Installation Thomas Herring, MIT Room A
Dynamic Batch Processing March 19 10:00 AM David Steger.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Shell Interface Shell Interface Functions Data. Graphical Interface Graphical Interface Command-line Interface Command-line Interface Experiments Private.
Sys Admin Course Job Scheduling Fourie Joubert. Sys Admin Course Very often, you may want a job to run once at a certain time, or to run regularly at.
Remote Access Usages. Remote Desktop Remote desktop technology makes it possible to view another computer's desktop on your computer. This means you can.
Review Please turn in your homework and practicals Packages, installation, rpm command Apache – Quick and easy way to set up a web server to play around.
Periodic Processes Periodically proceed the assigned jobs in BSD… Similar the one in windows.
UNIX-21 WEEK 2 4/5/2005. UNIX-22 TOPICS Functions (contd.) pushd, popd, dirs Debugging Shell scripts Scheduling Unix jobs Job Management.
1 COP 4343 Unix System Administration Unit 8: – at – cron.
Running the Operational Codes for the Brahmaputra Tom Hopson.
Chapter 10 Periodic Processes Unix System Administration.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
ASP Mr. Baha & Dr.Husam Osta  What is ASP?  Internet Information Services  How Does ASP Differ from HTML?  What can ASP do for you?  ASP Basic.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
GO! with Microsoft Office 2016
Running the Operational Codes for the Brahmaputra
lctseng / Liang-Chi Tseng Edit: yench
Chapter 9 Periodic Processes
GO! with Microsoft Access 2016
System Administration
Everyone’s a designer…
How to… Use Crontab for SFX
Linux Network Configuration
Download Latest CompTIA LX0-104 Exam Dumps & Pass LX0-104 Exam In Just 24 Hours - Realexamdumps.com
Download LX0-104 Exam Dumps Questions & Answers - LX0-104 Braindumps Dumps4download
ISC440: Web Programming 2 Server-side Scripting PHP 3
Configuring Internet-related services
Periodic Processes.
Chapter 9 Periodic Processes
Version A.01 H3064S Module 14 Slides
Periodic Processes.
Periodic Processes Chapter 9.
Periodic Processes.
lctseng / Liang-Chi Tseng
Presentation transcript:

Running the Operational Codes for the Brahmaputra Tom Hopson

Daily Operational Flood Forecasting Sequence

Automatic (background) Job Processing: CRON Cron is a time-base job scheduler in Unix-like computer operating systems. 'cron' is short for 'chronograph’. Cron enables users to schedule jobs (commands or shell scripts) to run automatically at a certain time or date. It is commonly used to perform system maintenance or administration, though its general purpose nature means that it can be used for other purposes, such as connecting to the Internet and downloading .

Crontab file: minute (0 - 59) | hour (0 - 23) | | day of month (1 - 31) | | | month (1 - 12) OR jan,feb,mar,apr... | | | |.---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat | | | | | * * * * * command to be executed There are several special entries, most of which are just shortcuts, that can be used instead of specifying the full cron entry: EntryDescriptionEquivalent once, at once a year once a month0 0 1 * once a week0 0 * * once a day0 0 * * 0 * * once an hour0 * * * * Note: you may need to specify full paths of programs since SHELL (“dot” files) are not used by CRON

More on crontab file execution timing … There are several ways of specifying multiple date/time values in a field: The comma (',') operator specifies a list of values, for example: "1,3,4,7,8" (space inside the list must not be used) The dash ('-') operator specifies a range of values, for example: "1-6", which is equivalent to "1,2,3,4,5,6" The asterisk ('*') operator specifies all possible values for a field. For example, an asterisk in the hour time field would be equivalent to 'every hour' (subject to matching other specified fields). There is also an operator which some extended versions of cron support, the slash ('/') operator (called "step"), which can be used to skip a given number of values. For example, "*/3" in the hour time field is equivalent to "0,3,6,9,12,15,18,21". So "*" specifies 'every hour' but the "*/3" means only those hours divisible by 3. The meaning of '/' specifier, however, means "when the modulo is zero" rather than "every". For example, "*/61" in the minute will in fact be executed hourly, not every 61 minutes.

CRON file example: Create a file called, say, “cron_ex”, with: * * * * * echo "trying this out!" > cron_test Then type: >crontab cron_ex (to install the CRON job) >crontab -l (to see if it is working in the CRON environment >date (to make sure a minute has passed) After a minute in your directory, you should see a file “cron_test” >cat cron_test (to see the output) Then type >crontab -r (to remove)

CRON IDL example: Create a file called, say, “cron_idl”, with: * * * * * /tools/itt/idl/bin/idl</home/”user”/infile_IDL Then create infile_IDL with:.rnew /home/”user”/testcron.pro testcron exit And create testcron.pro with PRO testcron spawn,"echo 'trying this out!' > cron_test2" openw,1,'cron_test3' printf,1,'trying this out!' close,1 end And do as before to install … (then type >crontab -r to remove when finished)

CRON IDL example 2: Now do as before with the file getRT.pro, and do as before to install … … and you’re now downloading NASA TRMM satellite precipitation data automatically! (then type >crontab -r to remove when finished) Note about the “wget” command: GNU Wget is a computer program that retrieves content from web servers, and is part of the GNU Project. Its name is derived from World Wide Web and get, connotative of its primary function. It currently supports downloading via HTTP, HTTPS, and FTP protocols, the most popular TCP/IP-based protocols used for web browsing.

Daily Operational Flood Forecasting Sequence

To run the forecasting codes: Type the following in the “Practical directory” >tar xspjSlf tarForecast.tbz2 Then go to the created Training/ directory Modify line 20 of the program se_fcstwkarma_w2s.pro to specify the working directory of the codes Start up IDL, then type >se_fcstwkarma_w2s,1 … and off it goes When finished, look at the plots in the “scratch” directory