rebuildcrontab
Rebuild Crontab Of User
To rebuild eenos users crontab files. This tool will auto generate eenos users crontab file. The crontab fill be generated by the crons added via UAP Control panel interface
If you added a manul cronjob 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>
Where the <eenos user> is the eenos system user name
Remember Always add Cron jobs via UAPP Control Panel interface