by thanasis » Wed Nov 28, 2012 4:38 am
Hi everyone,
On the readme file it says ' enable scheduled_tasks setting to On from the config.inc.php file '
and then :
On Unix operating systems, this can be done by adding a simple cron task:
# crontab -e www
0 * * * * php /path/to/ojs2/tools/runScheduledTasks.php
In this example the script would be executed every hour.
I tried to use the ' crontab -e www ' command and i got an error message about no arguments permitted after '-e ',so i tried it without the 'www ' part and crontab file opened.I added the second line '0 * * * * php /path/to/omp/tools/runScheduledTasks.php ' and saved the file.
Do i need to add anything to the configuration file or this is going to work as is now?How can i check if the scheduled backup works as intened?
Also,is the script enough to keep backup of the www folder and where does it save the backup files?
Thanks in advance for any information or advice.
Regards,
Thanasis Kordas
University of Patras