Jump to content

Invalid Task Method


Owdy

Recommended Posts

Posted

My system log is full of these

Quote

uncaught_exceptionOutOfRangeException (0) Invalid Task Method

What is that? If i run TASKs via URL, it gives that to browser.

ss.PNG

Posted
7 minutes ago, Owdy said:

My system log is full of these

What is that? If i run TASKs via URL, it gives that to browser.

ss.PNG

This means that something or somebody is calling the web task gateway file, but since you're using the cron or the "by traffic" method to call the task jobs, it returns an error.

You can't just call the url without enabling this feature;)

Posted
2 minutes ago, Daniel F said:

You can't just call the url without enabling this feature;)

I enabled it when i tested it. Log is full of those from many moths

 

 

Not currently needed?

1.PNG

Posted
6 hours ago, Owdy said:

every minute since that

Which is the interval for the CRON task being run, perchance?

I *think* I saw this ages ago with CRON...had it enabled on my test site, and enabled on the server, and working fine. Blew away my site, created a new one....started seeing those when the server tried to run the task, but the new site didn't have the CRON function enabled (and when I did enable it, the command provided by IPS didn't match to the one in the CRON on the server (as expected...new site)

Which task method have you got enabled in the ACP? "Run automatically with traffic", "Use CRON" or "Use Web Service"?

And do you currently have a CRON based on your server, or CRON running from a remote service?

6 hours ago, Owdy said:

Not currently needed?

Yes, currently the running of that task is not needed. When it is needed, it will run (ie when there are background tasks to run)

Posted
3 hours ago, Nathan Explosion said:

Yes, currently the running of that task is not needed. When it is needed, it will run (ie when there are background tasks to run)

Yes, but that was last run weeks ago. I manually run it, and it hasnt run since

3 hours ago, Nathan Explosion said:

Which task method have you got enabled in the ACP? "Run automatically with traffic", "Use CRON" or "Use Web Service"?

"Run automatically with traffic"

Posted
2 hours ago, Daniel F said:

Something is still calling your web gateway file frequently. Have you probably used any 3rd party pages which provide web cron services like easycron ( https://www.easycron.com/ ) which are still enabled and calling the file?

 

BINGO! :)

How about that task what dont run?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...