# change root for other users
$ vi /etc/crontabs/root
# for example add /etc/periodic/minute folder below to run every minute
# do daily/weekly/monthly maintenance
# min hour day month weekday command
* * * * * run-parts /etc/periodic/minute
*/15 * * * * run-parts /etc/periodic/15min
0 * * * * run-parts /etc/periodic/hourly
0 2 * * * run-parts /etc/periodic/daily
0 3 * * 6 run-parts /etc/periodic/weekly
0 5 1 * * run-parts /etc/periodic/monthly
# you may need this after /etc/crontabs/root changes
$ rc-service crond restart
$ cat <<EOF > /etc/periodic/minute/print_date
#!/bin/sh
date > /root/current_date
EOF
$ chmod +x /etc/periodic/minute/print_date
$ cd
$ cat current_date
Sat Jul 5 16:45:00 UTC 2025
# to run cron jobs from particular folder
run-parts /etc/periodic/minute