Last active
September 4, 2017 11:45
-
-
Save escopecz/f398baa387173147aefc1a3cf82fa084 to your computer and use it in GitHub Desktop.
Cronfig Integration example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head></head> | |
<body> | |
<div id="cronfig-wrapper"> | |
Loading... | |
</div> | |
<script type="text/javascript"> | |
document.cronfigConfig = { | |
platform: 'app_name', | |
tasks: { | |
{ | |
url: 'https://yourapp/trigger/action?secret=slkj23ori2kln', | |
title: 'Trigger the action' | |
description: 'Makes your app to do this and that', | |
} | |
}, | |
email: '[email protected]', | |
apiKey: 'known_api_key_here', | |
rememberApiKey: function(apiKey) {} | |
} | |
</script> | |
<script type="text/javascript" src="https://cdn.cronfig.io/cronfig.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment