example

command
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 11 Imported by: 0

README

example

This code is an example code for dcron.

compile

go build -o bin/example example.go

run

# ./run.sh $number_of_process $number_of_cronjob
# in linux
./run.sh 5 10

run 1 instance

# in linux
# ./run-instance.sh $sub_id_for_this_process $number_of_cronjob
./run-instance.sh 6 10

stop all

# in linux
./killexamples.sh

stop 1 instance

# in linux
# ./kill-instance.sh $sub_id
./kill-instance.sh 2

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL