How to change the time of the Backup Copy Activity Report

SUMMARY

Change Backup Copy Report scheduled email time

ISSUE

You need the Backup Copy Activity report to send out at a different time.  

RESOLUTION

1. Use an SSH client such as  PuTTY to access the Unitrends system at the command line level.  Note:  Ensure you have the OS password to access the Unitrends system’s command line.  The OS  password may differ from the password used to access the User Interface.

2. Get the current time of the report from crontab:

[[email protected] ~]# crontab -l | grep replication
0 9 * * * php /var/www/html/recoveryconsole/bpl/reports/replication_report.php -f >/dev/null 2>&1
In the example above we can see that the report is sent out at 9 am, the highlighted portion shows us the hour when that report is sent out

3. Edit crontab to change the time:
crontab -e
Type "/^.*replication_report.php" to get to the correct line.
Type "w" to position the cursor to the second column, which is for the hour of the day (0-23).
Type "cw" for change word.
Enter the new hour number that you want to have the report run.
Type "<Esc_key>:wq<Enter_key>"
crontab -l
4. Confirm the time change. The highlighted hour should be updated.
[[email protected] ~]# crontab -l | grep replication
0 8 * * * php /var/www/html/recoveryconsole/bpl/reports/replication_report.php -f >/dev/null 2>&1
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us