Skip to main content

rebuildcrontab

Rebuild the Crontab Of the User

To rebuild eenos usersusers' crontab files,  this  tool will auto auto-generate  eenos users crontab file.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 usersusers' crontab file, it will be lost along with the rebuild process. We recommend to addadding 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 UsersUsers' Crontabs

To rebuild all usersusers' crontab, run the following command

/usr/local/eenos/scripts/rebuildcrontab -a

It is dangerous to run this  command .command.

Rebuild a User CrontatbCrontab

To rebuild a single 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.