Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 12, 20169 yr Hello, When trying to set-up cron with my ISP today for the first time, I have realized that their ACP enables enter URL of the cron task only. What it means I cannot enter the unique code which is required by IPS script ..e.g. "...task.php 654354354321". Before giving up, has anyone come across similar problem, and is there any way of going around? The IPS's helpdesk say the code should be ideally triggered by the script and not as a parameter.. Thank you in advance for any advise.
February 12, 20169 yr I am a customer of all-inkl and I needed to use the web cron option. Then I added the URL to the cronjob section in the hosting control panel. What is your hosting environment?
February 13, 20169 yr Author It looks like they have their own custom made system which requires URL I can enter this "http://www.mysite.cz/applications/core/interface/task/task.php" But I cannot enter this: (which is required by IPS "http://www.mysite.cz/www/applications/core/interface/task/task.php 8439ee0b913213213993b1a62sdfd0e2e19044"
February 13, 20169 yr The correct URL is this: https://yoursite.com/applications/core/interface/task/web.php?key=your-cron-key-is-visible-in-the-admin-control-panel
February 13, 20169 yr 7 hours ago, svit said: It looks like they have their own custom made system which requires URL I can enter this "http://www.mysite.cz/applications/core/interface/task/task.php" But I cannot enter this: (which is required by IPS "http://www.mysite.cz/www/applications/core/interface/task/task.php 8439ee0b913213213993b1a62sdfd0e2e19044" It's only required if you are using CRON specifically. If they provide something that requires a URL then you need to choose the 'Use web service' option for CRON in the ACP and use the provided URL. If you don't have the 'Use web service' then upgrade to the latest IPS version and you will then have it.
February 13, 20169 yr 1 hour ago, Nathan Explosion said: then you need to choose the 'Use web service' option Interesting. Didn’t know that. Can I check somewhere in the ACP that whether this is working correctly once set up?
February 13, 20169 yr From an IPS point of view - just look at the tasks and monitor the 'Next scheduled run' column....if it is in the past, then you've got a problem. To figure out that problem, check the logs on the server (for normal CRON) or the logs on whatever web service is being used to run the cron job for you (easycron, for example) I use server CRON, and have it configured to send me emails if errors occur with running the actual cron job. If there are issues with the actual running of tasks, then the IPS logs themselves will contain errors.
February 13, 20169 yr 12 minutes ago, opentype said: Interesting. Didn’t know that. Can I check somewhere in the ACP that whether this is working correctly once set up? There's no need to check if it is working correctly. IPS 4.1.7 or 4.1.8 (not sure in what version we included it) will show a warning on your ACP Dashboard if the tasks are not running Quote From an IPS point of view - just look at the tasks and monitor the 'Next scheduled run' column....if it is in the past, then you've got a problem That's exactly what we're doing We're showing the warning if the date is in the past AND if the task is enabled (that's the most important part which you've forgotten to mention )
February 13, 20169 yr 13 minutes ago, Daniel F said: There's no need to check if it is working correctly. IPS 4.1.7 or 4.1.8 (not sure in what version we included it) will show a warning on your ACP Dashboard if the tasks are not running That's exactly what we're doing We're showing the warning if the date is in the past AND if the task is enabled (that's the most important part which you've forgotten to mention ) Where's the 'enabled' column in the tasks list then?
February 13, 20169 yr Just now, Nathan Explosion said: Where's the 'enabled' column in the tasks list then? sorry, i got your posting wrong:/ i was talking about the database table. Your post is 100% correct
Archived
This topic is now archived and is closed to further replies.