rebuildcrontab
Rebuild the Crontab Of the User
To rebuild eenos users' crontab files, this tool will auto-generate eenos users crontab files. The crontab file will be generated by the crons added via the UAP Control panel interface.
If you add a manual cronjob in the users' crontab file, it will be lost along with the rebuild process. We recommend adding cronjobs via the UAPP control panel.
Command:
/usr/local/eenos/scripts/rebuildcrontab
Command Options:
Usage: /usr/local/eenos/scripts/rebuildcrontab <options> <values>
Command Groups:
Options:
-a, --all - To update all users crontab
-u <eenos user> - To update crontab of a single eenos user
Reset All Users' Crontabs
To rebuild all users' crontab, run the following command
/usr/local/eenos/scripts/rebuildcrontab -a
It is dangerous to run this command.
Rebuild a User Crontab
To rebuild a single-user crontab, use the following command
/usr/local/eenos/scripts/rebuildcrontab -u <eenos user>
here <eenos user> is the eenos system user name.
Remember, always add Cron jobs via the UAPP Control Panel interface.