aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-29 01:02:28 +0300
committerawy <awy@awy.one>2024-11-29 01:02:28 +0300
commit22222745f467d52bd4406f78e3dc7c99b7dcf847 (patch)
tree2213dc7c51f7fa5103e63014b5dd768273584ae5
parent4ae8f09cbfd4cdb7d0b3a5ec73f68cf53d7a603a (diff)
cronjob
-rwxr-xr-xrice.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/rice.sh b/rice.sh
index 0f8f6be..92ecbd2 100755
--- a/rice.sh
+++ b/rice.sh
@@ -89,4 +89,7 @@ rm -rf swaydots
rm -rf yay
rm -rf go
+dinitctl enable cronie
+echo "*/10 * * * * /home/$PERMUSER/.local/bin/cron/newsup\n*/30 * * * * /home/$PERMUSER/.local/bin/cron/checkup" | doas -u $PERMUSER crontab -
+
echo "Your linux is riced!"