1 -- Created By ViCarePlus, Visolve (vicareplus_engg@visolve.com)
2 -------------------------------------------------------------------
4 Create an entry in the CRON tab for taking weekly backup of the OpenEMR Log table
6 1) This Cron job will take weekly backup on Every Sunday, 0th hour,0th min
7 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.
9 Use the following in the crontab:
10 -------------------------------
11 0 0 * * 0 php [webserver_root]/interface/main/backuplog.php webserver_root backup_log_dir
13 **** Eg. 0 0 * * 0 php /home/openemr/interface/main/backuplog.php /home/openemr /opt