Unable to automate backup

Re: Unable to automate backup

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

First screen shot does show cron.php executed completely.   Good!

Second screen shot does show an adhoc_task was seen and executed ... the tail end of that shows main cron and the scheduled_task completed successfully, right?   Scheduled task have a time to run of their own.  May not run every time you run cron.php

Now think about the 3rd ... when issued *in-correctly*, output might show errors on lines ... but look at what you issued the running of the script again ...

Is there a php in front of the moodle php script?

The cli php scripts in moodle are not executable by themselves ...

To run them: /path/to/php-cli/php then the name of the script.

Come on now ... first time or not ... sometimes one won't be getting help ... step back ... *thimk*!   (no spelled it right!)

I don't like long paths ... too prone to typo or missing a directory  .... or just plain stupid!  (yeah, I'm stupid sometimes!)   So I change into directories where the cli scripts reside so I can issue giving a shorter command ...

'SoS', Ken