/usr/bin/clockwork is in ruby-clockwork 1.2.0-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/usr/bin/ruby
STDERR.sync = STDOUT.sync = true
require 'clockwork'
usage = 'clockwork <clock.rb>'
file = ARGV.shift or abort usage
file = "./#{file}" unless file.match(/^[\/.]/)
require file
trap('INT') do
puts "\rExiting"
exit
end
Clockwork::run
|