rebuildcrontab
Rebuild Crontab Of User
To rebuild eenos users crontab files, this tool will auto generate eenos users crontab file. The crontab file will be generated by the crons added via 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 to add cronjobs via 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 Crontatb
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 UAPP Control Panel interface.