package
0.0.0-20241010145802-783c4038e4d0
Repository: https://github.com/starton-io/go-dispatch.git
Documentation: pkg.go.dev

# 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

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author