New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hcron

Making crontab human readable

0.1.2
latest
Version published
Weekly downloads
8
700%
Maintainers
1
Weekly downloads
 
Created

HCron

Made a little utiltiy that will take a cronline as an argument or will attempt to read your crontab and translate it into something human readable. Most (read: all) of the heavy lifting is actually done by prettycron.

Usage:

hcron "0 11 * * * php awesomescript.php"

Will output

11:00 every day the process "php awesomescript.php" will run

Just executing hcron will read the output of "crontab -l | grep -v #" (the grep -v part is to remove commented out cron jobs) and output all cronjobs in a human readable format.

Installation:

Through NPM:

npm install -g hcron

Through git

Clone the repo to your home directory. Navigate to the directory & run:

sudo npm install
ln -s ~/hcron/bin/hcron /usr/local/bin/hcron

FAQs

Package last updated on 26 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts