11

I have searched for the source for cron, to adapt it to modify/exend it. I can't locate it (thought it would be in coreutils).

Anyone knows where I can get the sources for cron?

BTW, I am running on Linux (Ubuntu 10.0.4).

Benjamin Loison
  • 3,782
  • 4
  • 16
  • 33
skyeagle
  • 6,925
  • 16
  • 56
  • 71

4 Answers4

18

apt-get source cron

ulidtko
  • 14,740
  • 10
  • 56
  • 88
1

apt-get source cron should fetch you the sources assuming you have the repositories properly setup.

vpit3833
  • 7,817
  • 2
  • 25
  • 25
1

Just for the record, I tried to run just that (apt-get source cron), and the tool complains that the archives are not found (404 Not Found). A quick

sudo apt-get update

will fix the situation and then we could do a

apt-get source cron
YudhiWidyatama
  • 1,684
  • 16
  • 14
1

GNU sponsorships mcron (Mellor's cron). Homepage at http://www.gnu.org/software/mcron/. Sources at http://git.savannah.gnu.org/cgit/mcron.git

I don't know if Ubuntu uses this, though.

luca.vercelli
  • 898
  • 7
  • 24
  • It appears that Ubuntu 20.04 LTS uses Vixie Cron, according to the man page. https://github.com/vixie/cron – yoshy27 Dec 13 '22 at 08:09