NovaStar Program Reference / Database / nsdbcompress


Overview

The nsalarmtweet shell script takes in several arguments that help locate alert information from the NovaStar database. Parsing of input arguments and error handling takes place. The script will output much of this parsing information to the console and also store it in a debug log file located at /usr/ns/log/alarmtweetdeebug.log. After checking the input information the script connects to the NovaStar database, and accesses the different values using the id's from input arguments. Once storing all the values, the alarm message is formatted for email and for twitter. Finally the script sends out emails with the alarm message, and passes the alarm message in a URL to a php script that posts the twitter status update.

Command Line Usage

Examples

Scheduling

NovaStar Administrator Interface

Troubleshooting

This program outputs many of the operations taking place through the script to the console.

You can also find debugging information in the debug log file at /usr/ns/log/nsalarmtweetdebug.log.