News for hackers. Stuff that matters.
Re:Show HN: My weekend project – simple cron monitoring by encoderer on Thursday June 19, 2014 @02:38PM (#7917602)
Hey HN! My friend augustflanagan and I both had a need for some really simple cron monitoring. A way to monitor our critical jobs without configuring Nagios first. We wanted a simple SAAS monitoring solution that we could trust to alert us right away when a job isn't running on schedule. 

We mentioned this to a couple of friends who said they needed the same simple monitoring. Having people tell you they need something is a great motivator, so we built cronitor in a couple of weekends and are putting it out there. We'd love feedback and suggestions on how to make it better. Thanks!

Re:Show HN: My weekend project – simple cron monitoring by js2 on Thursday June 19, 2014 @02:52PM (#7917685)
You were not aware of https://deadmanssnitch.com ?
Re:Show HN: My weekend project – simple cron monitoring by encoderer on Thursday June 19, 2014 @02:58PM (#7917711)
We gave it a shot but there were a couple things we needed that we couldn't get from DMS. Specifically, I have hourly jobs that started taking longer than an hour to run. I needed timing-based alerts for that. We also needed to be alerted in real time in a way DMS doesn't provide.
Re:Show HN: My weekend project – simple cron monitoring by thibaut_barrere on Thursday June 19, 2014 @02:56PM (#7917705)
There are others, like Proby (which I mentioned here [1]), yet I find that having more competitors in that space would be helpful, because not everyone has exactly the same needs. Congrats for shipping!

[1] https://www.wisecashhq.com/blog/writing-reliable-cron-jobs

Re:Show HN: My weekend project – simple cron monitoring by barce on Thursday June 19, 2014 @03:03PM (#7917730)
Cool, what did you guys code this in? I'm working on a weekend project for an EventBrite competitor focused on a really niche group of users.
Re:Show HN: My weekend project – simple cron monitoring by augustflanagan on Thursday June 19, 2014 @03:11PM (#7917768)
Thanks! It's a django app that uses Mandrill for sending email, and Twilio for sending sms alerts.
Re:Show HN: My weekend project – simple cron monitoring by encoderer on Thursday June 19, 2014 @03:21PM (#7917818)
And the monitoring and alerting is done with a python daemon.
Re:Show HN: My weekend project – simple cron monitoring by barce on Thursday June 19, 2014 @04:52PM (#7918238)
Thanks guys! I love using Twilio. I'm more of a Rails guy but I see that the design challenges will be the same.
Re:Show HN: My weekend project – simple cron monitoring by vijayaggarwal on Thursday June 19, 2014 @03:40PM (#7917911)
Writing a fail-safe cron is an incredibly hard job as crons are infamous for failing rather silently. The cron script writer must take a very pessimist approach and handle every possibility of error. Even then, some scenarios are easy to miss. Following are some cases I have come across often:

1. crash - any runtime error that causes your script to stop execution abruptly.

2. un-handled, non-crashing error - db connection failure, remote api failure, file not found, etc. The script may continue execution, the results may not be logically correct.

3. concurrent execution - What if an instance of cron is not over by the time the next instance should start? crontab will simply start the next instance.

4. internet connection error - even the notification mechanism will fail if it depends on an active internet connection.

Your service is a very valuable one, and a challenging one too I believe. You can do a lot many things in cron monitoring and reporting.

Re:Show HN: My weekend project – simple cron monitoring by eam on Thursday June 19, 2014 @02:52PM (#7917686)
I really liked the plan names especially the top plan, NSA (Monitor Everything). Got a good laugh out of it. :)
Re:Show HN: My weekend project – simple cron monitoring by augustflanagan on Thursday June 19, 2014 @03:02PM (#7917728)
hehe, thanks! these were fun to come up with!
Re:Show HN: My weekend project – simple cron monitoring by gmjosack on Thursday June 19, 2014 @03:21PM (#7917815)
One way I've solved this in the past which is a bit hacky but novel and fun was to set the MAILTO to some e-mail address like cron-error@ and use the local postfix process to map that e-mail to a command via transports. This allows us to inject cron errors into our exception tracking system and alert minimizing the amount of cron storming to our inboxes.
Re:Show HN: My weekend project – simple cron monitoring by tyrionaura on Thursday June 19, 2014 @03:01PM (#7917721)
Good to have the "one is always free" plan, will give it a try.
Re:Show HN: My weekend project – simple cron monitoring by cheeken on Friday June 20, 2014 @12:07AM (#7919482)
Neat little service! I'd be careful about &&'ing commands together (as in the timing example) should one of the pre-command curl calls fail. It would be a serious kick in the pants if the service to monitor the health of your cron jobs was (indirectly) responsible for preventing them from running.
Re:Show HN: My weekend project – simple cron monitoring by encoderer on Friday June 20, 2014 @03:09AM (#7919795)
Great point, that's an important oversight.
Re:Show HN: My weekend project – simple cron monitoring by crazyiiiiii on Thursday June 19, 2014 @04:00PM (#7917997)
Any chance of selling a version I can host myself? Or, even better, making it open source? Congrats on shipping tho!
Re:Show HN: My weekend project – simple cron monitoring by encoderer on Thursday June 19, 2014 @04:05PM (#7918025)
It was important for us to focus on the MVP but we've actually discussed both of those options from day one.

There are some disadvantages to self hosting a monitoring tool. But certainly there are circumstances where self hosting is very important.

I could certainly see us releasing code for the website and monitor daemon under an OSS license at some point.

Thanks for giving it a look!

Re:Show HN: My weekend project – simple cron monitoring by yansuck on Thursday June 19, 2014 @07:00PM (#7918751)
I really doubt this is just a weekend project. I am sorry but titles like this has been getting on my nerves.
Re:Show HN: My weekend project – simple cron monitoring by augustflanagan on Thursday June 19, 2014 @07:48PM (#7918902)
You're right. Weekends project would be a better title.

We built an end to end proof of concept our first weekend on it, then spent another Sunday polishing it as well as a few hours here and there a couple of evenings.

Re:Show HN: My weekend project – simple cron monitoring by krapp on Thursday June 19, 2014 @07:08PM (#7918775)
Yeah.. I have a 'weekend project' that i've been working on for... almost a year now. And mostly not even weekends.
Re:Show HN: My weekend project – simple cron monitoring by 0x420 on Thursday June 19, 2014 @02:46PM (#7917644)
Looks cool. The "Pick this Plan" buttons at the bottom don't appear to be working, though. I'm not sure if you're aware of that.
Re:Show HN: My weekend project – simple cron monitoring by encoderer on Thursday June 19, 2014 @02:59PM (#7917713)
Looking at this -- it's a Firefox regression apparently. Thanks for the heads up!
Re:Show HN: My weekend project – simple cron monitoring by acron0 on Thursday June 19, 2014 @02:54PM (#7917690)
Awesome idea but the price outweighs the pain factor, for me.
Re:Show HN: My weekend project – simple cron monitoring by thibaut_barrere on Thursday June 19, 2014 @02:57PM (#7917709)
As a counter-point I will say that most of my freelancing clients are perfectly willing to pay that and more, for platforms where a cron that misbehaves has consequences.

I would suggest not to lower the prices :-)

EDIT: I prefer to pay more than $20/mo if this means that your product won't end up being stale and unmaintained.

Re:Show HN: My weekend project – simple cron monitoring by encoderer on Thursday June 19, 2014 @03:00PM (#7917718)
Well.. What would you pay? We're looking for more conversations with potential users to help us find the right price points.
Re:Show HN: My weekend project – simple cron monitoring by barce on Thursday June 19, 2014 @03:05PM (#7917735)
The prices seem really reasonable and a steal if I was still in an enterprise environment. I'm not maintaining any prod servers right now, but $4.99 would be a sweet spot if I had a few hobby servers on the Internet that I was doing devops for.
Re:Show HN: My weekend project – simple cron monitoring by toomuchtodo on Thursday June 19, 2014 @03:16PM (#7917796)
Wow, that's extremely low pricing you're looking for. I think the current pricing isn't only fair, but the top end is somewhat low.
Re:Show HN: My weekend project – simple cron monitoring by acron0 on Friday June 20, 2014 @11:26AM (#7921091)
I agree with the sentiment of the other comments in that the price issue is only an issue from a single-user perspective and is fine for enterprise.
Re:Show HN: My weekend project – simple cron monitoring by __xtrimsky on Thursday June 19, 2014 @02:56PM (#7917703)
I agree with you. It's cool, but not 7$ / month, or 20$ /month cool.
Re:Show HN: My weekend project – simple cron monitoring by spncr2 on Thursday June 19, 2014 @03:20PM (#7917813)
I've gotta hand it to https://deadmanssnitch.com. Free referrals! :)