Skip to main content

rebuildcrontab

Rebuild Crontab Of User

To rebuild eenos users crontab files.files,  Thisthis  tool will auto generate  eenos users crontab file.  The crontab fillfile will be generated by the crons added via UAP Control panel interfaceinterface.

If you addedadd a manulmanual cronjob in the users crontab file, it will be lost along with the rebuild process. We recommend to add cronjobs via UAPP control panelpanel.

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 crontabcrontab, 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 crontabcrontab, use the following command

/usr/local/eenos/scripts/rebuildcrontab -u <eenos user>

Wherehere the <eenos user> is the eenos system user namename.

RememberRemember, Alwaysalways add Cron jobs via  UAPP  Control  Panel  interfaceinterface.