Skip to content

Latest commit

 

History

History

cronic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Utilities for long running jobs

~/appstrap/cronic/atnow command

Wrapper for the unix at command. Pass a command as a parameter, it will be passed to cronic and run as-if-by-cron.

~/appstrap/cronic/atnow /path/to/long_running_job

If the command has any output or does not have a 0 exit code -- then an email will be generated from cron when the command is finished.

~/appstrap/cronic/cronic command

Cronic is a shell script written by Chuck Houpt to help control the most annoying feature of cron: unwanted emailed output, or "cram" (cron spam).

Ususally, you won't run this directly, but from a cron/at job.

0 1 * * * /path/to/appstrap/cronic/cronic /path/to/long_running_job

~/appstrap/cronic/spinner command

Prints a spinning pattern on the screen to keep a terminal connection from timing out. Based on a question in this bash FAQ

~/appstrap/cronic/log directory

STDOUT and STDERR from commands run with atnow/cronic