Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Scheduler job in Firefly / Runtime

Avatar

Avatar
Give Back
Level 2
eldhov19157560
Level 2

Likes

5 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Give Back
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Give Back
Level 2
eldhov19157560
Level 2

Likes

5 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Give Back
Validate 1
Boost 5
Boost 3
Boost 1
View profile
eldhov19157560
Level 2

25-08-2020

Hi Team,

 

We would like to use a scheduler job in firefly app, we found the following option https://github.com/apache/openwhisk-package-alarms is there any alternate option in firefly?

firefly scheduler scheduling

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

521 likes

Total Posts

1,020 posts

Correct Reply

256 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

521 likes

Total Posts

1,020 posts

Correct Reply

256 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile
ursboller
MVP

26-08-2020

based on the idea from @SarahXu I found this blog post and it exactly describes the steps to make within the app: https://medium.com/openwhisk/whisk-deploy-alarm-trigger-6c0984b06745

Avatar

Avatar
Give Back 3
Level 2
SarahXu
Level 2

Likes

7 likes

Total Posts

33 posts

Correct Reply

5 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile

Avatar
Give Back 3
Level 2
SarahXu
Level 2

Likes

7 likes

Total Posts

33 posts

Correct Reply

5 solutions
Top badges earned
Give Back 3
Give Back
Boost 5
Boost 3
Boost 1
View profile
SarahXu
Level 2

26-08-2020

Hi @eldhov19157560,

 

Yes the alarm package is available.

 

You can read more about it here https://github.com/AdobeDocs/adobeio-runtime/blob/33d0979a45b9e35e8addaad7e97dfb00f8ea5e12/reference...

 

The documentation shows an example for directly using the cli to set up triggers, but you can easily define the trigger through the manifest file. Here's an example manifest file for that. 

 

 

Manifest File Example: “Hello world” Action with a compatible Trigger and Rule

package:
  name: hello_world_package
  version: 1.0
  license: Apache-2.0
  actions:
    hello_world_triggerrule:
      function: src/hello_plus.js
      runtime: nodejs
      inputs:
        name: string
        place: string
        children: integer
        height: float
      outputs:
        greeting: string
        details: string

  triggers:
    meetPerson:
      inputs:
        name: Sam
        place: the Shire
        children: 13
        height: 1.2

  rules:
    meetPersonRule:
      trigger: meetPerson
      action: hello_world_triggerrule