Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.612.794 Times

cronwrap 1.3

Company: amix
Date Added: July 17, 2013  |  Visits: 175

cronwrap

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)



cronwrap is a simple Python script that can improve your cron jobs. It offers following features:<br /><br /> * ability to send emails ONLY when errors happen. cron sends an email if a command outputs anything (which leads to massive spamming). Another problem with cron is that only stdout is sent (makes debugging difficult).<br /> * ability to send emails if a command runs for too long.<br /><br />Installing cronwrap<br /><br />$ sudo easy_install cronwrap<br />$ cronwrap -h<br /><br />Usage<br /><br />Will email a timeout alert to cron@my_domain.com:<br /><br />$ cronwrap -c "sleep 2" -t "1s" -e cron@my_domain.com<br /><br />Will email an error alert to cron@my_domain.com, since the command crashes:<br /><br />$ cronwrap -c "blah" -e cron@my_domain.com<br /><br />Will not email any reports since it's a successful run:<br /><br />$ cronwrap -c "ls" -e cron@my_domain.com<br /><br />Will email a successful report to cron@my_domain.com, because verbosity is turned on:<br /><br />$ cronwrap -c "ls" -e cron@my_domain.com -v<br /><br />Help and usage:<br /><br />$ cronwrap -h<br />usage: cronwrap [-h] [-c CMD] [-e EMAILS] [-t TIME] [-v [VERBOSE]]<br /><br />A cron job wrapper that wraps jobs and enables better error reproting and<br />command timeouts.<br /><br />optional arguments:<br /> -h, --help show this help message and exit<br /> -c CMD, --cmd CMD Run a command. Could be `cronwrap -c "ls -la"`.<br /> -e EMAILS, --emails EMAILS<br /> Email following users if the command crashes or<br /> exceeds timeout. Could be `cronwrap -e<br /> "johndoe@mail.com, marcy@mail.com"`. Uses system's<br /> `mail` to send emails. If no command (cmd) is set a<br /> test email is sent.<br /> -t TIME, --time TIME Set the maxium running time.If this time is passed an<br /> alert email will be sent.The command will keep running<br /> even if maxium running time is exceeded.The default is<br /> 1 hour `-t 1h`. Possible values include: `-t 2h`,`-t<br /> 2m`, `-t 30s`.<br /> -v [VERBOSE], --verbose [VERBOSE]<br /> Will send an email / print to stdout on succefull run.<br /><br />#md5=55eed3c22dc89271d85a3878f5a381e9<br />#md5=c1f90827fad261268ecc98f8653b0736

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Ability Alert Command Crashes Cronmy Domaincom Cronmy Domaincomwill Cronwrap Email Emails Error Maxium Quotlsquot Running Stdout Successful Timeout Verbose
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


CRONWRAP RELATED
Utilities  -  Alert Manager 1.0-RC5
Alert Manager was created to run an alert command, monitor the status of that commands output, and guarantee that if something goes wrong it wont go unnoticed. Alert Manager has been successfully deployed in several fortune 500 companies...
16.38 KB  
Miscellaneous Mail Tools  -  SMS Alert for Linux RC1
SMS Alert is a simple but yet very powerful email notification tool It is intended for users who have a luxury of running computer 24x7 with access to the POP3 mailbox and SMS device such as a mobile phone or page. Features:
727.04 KB  
Web Browsers  -  Voice Browsing IE Toolbar 1.0.1
This add-on provides the user with the ability to command the browser with his voice. Currently integrates into Internet Explorer 7 and above on Windows Vista OS.
441 KB  
Miscellaneous Mail Tools  -  Internet Email Spider
Internet Email Spider is a command line tool that searches and extracts email addresses from the Internet. Specify a start URL on the Internet and the extractor will search and extract email addresses from this web page and follow all links.
150 KB  
Utilities  -  Catfood NoSleep 1.00
Nosleep is a simple command line tool that prevents your computer from sleeping or hibernating while running an application or batch file. Use it from task scheduler to run tasks, or just from the command line.
60 KB  
Games  -  1 Button Die 1.0
An adventure game and ability for gamers bloody and deadly. You're a fearsome monster which must be running, jumping and climbing walls to go beyond levels. You'll have to be careful with the saws so you do not make pieces when you go through the...
14.8 MB  
Networking  -  WordPress File Monitor 2.3.2
Monitors your WordPress installation for added/deleted/changed files. When a change is detected an email alert can be sent to a specified address.Features * Monitors file system for added/deleted/changed files * Sends email when a change is...
10 KB  
Instant Messagers  -  GnomeICU for Linux 0.99.16
Welcome to the new and improved site for GnomeICU! GnomeICU is one of the most popular UN*X-based ICQ programs in the world. Internet chatting has quickly become one of the most popular uses of the Internet - second only to Email. Instant...
1.66 MB  
Network Monitors  -  TrendEasy Lite 2.0
TrendEasy Lite is the FREEware edition of the commercial product TrendEasy Standard. TrendEasy Lite is a windows-based application that monitors the end-to-end performance and availability of web & TCP services. It is optimized for unattended...
3.55 MB  
Libraries  -  Getopt::Lucid 0.16
Getopt::Lucid is a clear, readable syntax for command line processing. SYNOPSIS use Getopt::Lucid qw( :all ); # basic option specifications with aliases @specs = ( Switch("version|V"), Counter("verbose|v"), Param("config|C"),...
39.94 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB