Create a file to save the cronjob such as syslog-job.txt
.
Cronjobs use the UNIX cron format for specifying the schedule for the job to be executed.
5 * * * * cbc_syslog_forwarder --log-file /some/path/cbc-syslog.log poll /some/path/my-config.toml
To start the job after the file is created, run the following command:
crontab syslog-job.txt