Sheduled jobs and automate access1 user found helpful
Simple question but how do I realize this?
In System and Maintanence > Scheduled jobs is the following information:
If you wish to run these jobs in the background, automate access to the following URL:
It is a loacalhost so it won't work but I can't find in the documentation or forum in the concrete5.org site what is means and what it does and te most important part: where and how to do this? Do I have to place this url in my template or something?
Thanks in advance,
I use a cron job to do it as it's simple to set up.
cPanel makes it very easy to set up a cron just pick how often you want the job to run and use wget to visit the url.
0 0 * * * /usr/bin/wget -t 1 -q -O -http://yourdomain.com/tools/required/jobs?auth=YourToken
That will run your job once every day at midnight and send an email if there's an error. Your path may be different to wget but that's the basic command.
Thank you for your clear explanation.
I don't use cPanel but Plesk and I'm only allowed to view the scheduled tasks. I will ask my host to set this up for me.
But it is clear now what it means.
0 0 * * * /usr/bin/wget -t 1 -q http://mydomain.com/tools/required/jobs?auth=MyToken
Thanks for pointing me in the right direction, though! I had been flailing on that question for awhile!
Thnx and regards!
I am trying to automate this process and when the cron runs I get this error for this.
/bin/sh:http://tommyhouse.com/main/index.php/tools/required/jobs?auth=b215b... No such file or directory
In C5 it tells me to run this: http;//tommyhouse.com//main/index.php/tools/required/jobs?auth=b215bf63b9bc65022daed43ed9844110
What am I missing or need to do to make this work right?
Any help would be appreciated.
try using something like
And is it also possible to automate a DB backup?
(but it doesn't run backup)