Added service-exec script for running periodic processes

This commit is contained in:
2022-12-22 06:48:16 +00:00
parent beaa183056
commit 4401fd48d8
3 changed files with 8 additions and 5 deletions

View File

@@ -1,11 +1,13 @@
#! /bin/sh
ENV=/root/.bashrc ash
file="/crontab";
{
echo "SHELL=/bin/sh
* * * * * /cron-re-read.sh"
} > "$file";
cat /crontab.txt >> /crontab
cat /opt/cron/crontab.txt >> /crontab
crontab -l | cat /crontab |crontab -