Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Enable Crontab #211

Open
wilsonnkwan opened this issue Dec 17, 2024 · 1 comment
Open

Feature Request: Enable Crontab #211

wilsonnkwan opened this issue Dec 17, 2024 · 1 comment

Comments

@wilsonnkwan
Copy link

Hi, I understand that Cron is part of the kit, but as of now, the crontabs do not exist, it keeps pointing to var/spool directory but the cron/crontabs do not exist. I tried creating it but it does not survive a reboot. anyway that you can make this permanent or teach me how to do it?

@wilsonnkwan
Copy link
Author

I sort of figured it out, not the most elegant solution, but it works for now.

  1. Create a cron file in a more permanent location like /root/ where there is a text file say abc.txt which contains the cron file.
  2. Create a initialization file for cron in /etc/init.d/S99Cron, within that file: a) mkdir -p /var/spool/cron/crontabs/ b) cp /root/abc.txt /var/spool/cron/crontabs/root 3) crond (to start the cron).

not sure if it will interfer with the system, so if you have a better solution, do share.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant