Manual Scheduled Task not found
I try to manually schedule a task
My Task Class in the
scheduled-tasks
folder
I get this error [ScheduledTaskPlugin] There was no task found for "rememberMe"
What am I doing wrong?Solution:Jump to solution
Then the name is RememberTask. By default sapphire will use the file name as the name of the piece. Either you have to specify a different name in the constructor or rename the file. The module augmentation that you do at the bottom is typescript only, and doesn't affect runtime.
4 Replies
What's the name of the file?
RememberTask.ts
Solution
Then the name is RememberTask. By default sapphire will use the file name as the name of the piece. Either you have to specify a different name in the constructor or rename the file. The module augmentation that you do at the bottom is typescript only, and doesn't affect runtime.
Alright, good to know. Works now! Thanks for the help :PES_Ok: