Skip to content

Commit

Permalink
rewording so that it is a little clearer (openemr#4554)
Browse files Browse the repository at this point in the history
  • Loading branch information
juggernautsei committed Aug 2, 2021
1 parent 4a4a715 commit 446fc56
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Documentation/README-Log-Backup.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
Create an entry in the CRON tab for taking weekly backup of the OpenEMR Log table

1) This Cron job will take weekly backup on Every Sunday, 0th hour,0th min
2) Arguments are mandatory. For successful execution of the script, webserver_root & backup_log_dir value must match with the value in the /interface/globals.php file.
2) Arguments are mandatory. For successful execution of the script,
a) you must know your webserver_root folder i.e. /var/www/openemr
b) backup_log_dir value must match with the value in the Globals setting.

Use the following in the crontab:
-------------------------------
0 0 * * 0 php [webserver_root]/interface/main/backuplog.php webserver_root backup_log_dir

**** Eg. 0 0 * * 0 php /home/openemr/interface/main/backuplog.php /home/openemr /opt

0 comments on commit 446fc56

Please sign in to comment.