Inhalte aufrufen

Profilbild

Scheduled Task from Import Profiles not showing up in "Scheduled Tasks"

bestellung senden modul adelheid rechnungsanschrift

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
6 Antworten zu diesem Thema

#1 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 29 April 2020 - 10:04

So i created scheduled task for the Import Profiles. I would now expect that they will also show up in de Admin --> System --> Scheduled Tasks, or is this a wrong assumption?
 
Is it also possible to create your own Scheduled Task? For example calling the "~/Admin/Product/FixProductMainPictureIds" url from this topic?

#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 29 April 2020 - 12:07

They are displayed in list if ScheduleTask.Type is set correctly so that the task can be found in the code.
Example of how to add a task by migration.

Marcus Gesing

Smartstore AG


#3 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 29 April 2020 - 16:06

Alright, thanks clear. But how about the Schuduled task that you can create in the GUI of the import profiles? Those task don't show up in the Scheduled Tasks overview?



#4 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 29 April 2020 - 21:20

Yes, they're hidden (ScheduleTask.IsHidden).


Marcus Gesing

Smartstore AG


#5 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 30 April 2020 - 08:01

Aha that explains it. Why are they hidden? It would be more abvious (for me) that when they are enabled they appear in the Schedelud Tasks overview?



#6 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 30 April 2020 - 10:42

A kind of "system tasks". It is more intuitive to start and control imports via the import profile list or directly via the profile. And probably confusing when hundreds of profiles have been created.


Marcus Gesing

Smartstore AG


#7 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 30 April 2020 - 16:10

Okay, that clearifies it for me!  :)