Rykian / clockwork

A scheduler process to replace cron.
MIT License
544 stars 66 forks source link

Gotcha: Daemonization on OSX does not work #29

Open Epigene opened 7 years ago

Epigene commented 7 years ago

I was testing daemonization in development on a Mac and it was not working. I would get the daemon boot output a-la

clockworkd.clock: pid file: /Users/developer/Documents/fd/tmp/clockworkd.clock.pid
clockworkd.clock: No output will be printed out (run with --log if needed)
clockworkd.clock: process with pid 78014 started.

(and even "process already running" if I re-ran the command quickly enough), but the process would ultimately not get started. (or fail immediately?)

Luckily, works as expected, on production Ubuntu.

shirkavand commented 6 years ago

@Epigene did it work on Ubuntu prod?

Epigene commented 6 years ago

Yes, it works on Ubuntu just fine, only a OSX issue.