Timeout

July 14, 2008 – 15:28

Client got a timeout when trying to create and Excel export of some custom Moodle report we created. Excel exporting function is not really efficiently setup but I cooked up a workaround for the problem:

run the excel export as command line php and redirect the output to filename.xls. Then write a small script the copies the file to the right place and include it in the crontab to run every monday at 5 O in the morning (in this case).

Sorry, comments for this entry are closed at this time.