Skip to content

Jan 28 - figure out how to get JS or PHP to do an alarm #2

@tachyonlabs

Description

@tachyonlabs

This is in connection with the IFLZonePlusOne whenIsSunsetToday() function -- at first the alarm will just consist of sending an email. Also, there may be a positive or negative offset in terms of optimum pretty sunset time vs actual sunset time, and or whether say a five-minute advance-notice period would be wanted.

Look at among others:
https://stackoverflow.com/questions/40028289/alarm-sound-at-certain-time-of-a-day

https://developer.wordpress.org/plugins/shortcodes/

https://developer.wordpress.org/reference/functions/wp_enqueue_script/ for "the recommended method of linking JavaScript to a WordPress generated page"

https://github.com/tachyonlabs/autotrax/blob/master/AutoTRAX/book/templates/book/book.html for the way I used JavaScript's setTimeout as a timer/alarm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions