Skip to content

[FR] Support for scheduled functions in emulator #2034

Open
@Elyx0

Description

@Elyx0

[REQUIRED] Environment info

firebase-tools: 7.15.0 & 7.15.1

Platform: macOS 18.7.0 Darwin Kernel Version 18.7.0:

[REQUIRED] Test case

export const pubsubScheduled = functions.pubsub
  .schedule('every 1 minutes')
  .onRun(context => {
    console.log('Resource', JSON.stringify(context.resource));
    return true;
  });

[REQUIRED] Steps to reproduce

firebase emulators firebase emulators:start
✔ functions[pubsubScheduled]: pubsub function initialized.

[REQUIRED] Expected behavior

Logging every 1 minute in the console

[REQUIRED] Actual behavior

No output

Links:
b6fa88a

4dc64da

#1543 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions