Ask the Community
Groups
How to change the time of the Backup Copy Activity Report - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Change Backup Copy Report scheduled email time</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p>You need the Backup Copy Activity report to send out at a different time. </p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p><b>1. </b>Use an SSH client such as <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fwww.chiark.greenend.org.uk%2F%7Esgtatham%2Fputty%2Flatest.html">PuTTY</a> to access the Unitrends system at the command line level. <i>Note: Ensure you have the OS password to access the Unitrends system’s command line. The OS </i><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Funitrends-support.zendesk.com%2Fhc%2Fen-us%2Farticles%2F360013244978">password</a> <i>may differ from the password used to access the User Interface.</i><br><br>2. Get the current time of the report from crontab: </p> <pre class="code codeBlock" spellcheck="false" tabindex="0"> [root@Hostname ~]# crontab -l | grep replication 0 <b>9</b> * * * php /var/www/html/recoveryconsole/bpl/reports/replication_report.php -f >/dev/null 2>&1</pre> 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<br><br>3. Edit crontab to change the time: <pre class="code codeBlock" spellcheck="false" tabindex="0"> 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</pre> 4. Confirm the time change. The highlighted hour should be updated. <pre class="code codeBlock" spellcheck="false" tabindex="0"> [root@Hostname ~]# crontab -l | grep replication 0 <b>8</b> * * * php /var/www/html/recoveryconsole/bpl/reports/replication_report.php -f >/dev/null 2>&1</pre> </article> </main>