FlutterFlow Tricks: Scheduled Functions / Cron Jobs

  Рет қаралды 1,216

Steven NoCode

Steven NoCode

Күн бұрын

Welcome to a quick tutorial on setting up Scheduled Functions / Cron Jobs in FlutterFlow!
In this video, I'll walk you through the steps to create and manage scheduled functions in your FlutterFlow projects. Whether you need to run a task at specific intervals or perform maintenance tasks automatically, scheduled functions (also known as cron jobs) can be incredibly useful.
By the end of this tutorial, you’ll have a solid understanding of how to set up and manage scheduled functions in FlutterFlow, making your app more efficient and reliable.
Don’t forget to like, comment, and subscribe for more FlutterFlow tutorials and tips!
Boilerplate code: github.com/its...
-----
Need help? Book a chat here: cal.com/stevenliu
Want to support me? buy.stripe.com...

Пікірлер: 11
@ScoxZz
@ScoxZz 3 ай бұрын
Awesome! I have a huge daily action, that was so far triggered by the first user logging in. Looking forward to try to translate it into a cron job instead and fix that shitty experience!
@StevenNoCode
@StevenNoCode 3 ай бұрын
Happy to have helped! How you’ve set up currently is often the only way if you use FF only. Now you know the secret of cron jobs :)
@EmblazNOR
@EmblazNOR 3 ай бұрын
Excellent! Please create a tutorial about how to securely store API keys through firebase and supabase.
@StevenNoCode
@StevenNoCode 3 ай бұрын
Sure, I'll put it as the next short form video I make.
@EmblazNOR
@EmblazNOR 3 ай бұрын
@@StevenNoCode awesome! Im currently using buildship for this, but as i understand it i can skip buildship and use firebase for this instead. Or am ing something?
@RajeevSharma-ii7fx
@RajeevSharma-ii7fx 2 ай бұрын
@@EmblazNOR const functions = require('firebase-functions'); const admin = require('firebase-admin'); // To avoid deployment errors, do not call admin.initializeApp() in your code const db = admin.firestore(); exports.test4 = functions.pubsub.schedule('0 0 1 * *').onRun(async (context) => { try { const snapshot = await db.collection('entity').get(); // Replace with your collection name const batch = db.batch(); snapshot.forEach(doc => { const data = doc.data(); const amtToCredit = data.amtToCredit || 0; const currentPlanCredits = data.planCredits || 0; const updatedPlanCredits = amtToCredit; batch.update(doc.ref, { planCredits: updatedPlanCredits }); }); await batch.commit(); console.log('Plan credits incremented successfully.'); } catch (error) { console.error('Error incrementing plan credits:', error); } return null; });
@mphatsomlenga8948
@mphatsomlenga8948 3 ай бұрын
Just when I needed it, thanks man
@StevenNoCode
@StevenNoCode 3 ай бұрын
Glad to have helped!
@stephenadeniran2133
@stephenadeniran2133 2 ай бұрын
Helpful. Please can you create a function for notifications. When an action is made on db, cloud funtion send notification to that user.
@Woofiapp
@Woofiapp 3 ай бұрын
Love the videos! Question, what is the difference between using buildship to integrate stripe connect and integrating it inside of flutterflow?
@StevenNoCode
@StevenNoCode 3 ай бұрын
It's exactly the same. Buildship is simply a low-code visual builder with the same outcomes. For example, instead of writing your own Cloud Function for web hooks, you use Buildship to do the work instead. For API calls, instead of you having to understand the Stripe Connect API docs, you can use what Buildship has built as template.
FlutterFlow Tricks: Get Document Reference from Dropdown
6:29
Steven NoCode
Рет қаралды 1,5 М.
Replit AI Agent - My First Impression | Cursor Challenger?
19:48
All About AI
Рет қаралды 12 М.
Bike vs Super Bike Fast Challenge
00:30
Russo
Рет қаралды 22 МЛН
Automatically Schedule Python Scripts with Cron Jobs
13:25
NeuralNine
Рет қаралды 14 М.
FlutterFlow Cloud Functions: MUCH More Powerful Than You Think
33:10
Integrate STRIPE SUBSCRIPTION to your FlutterFlow App Part 1
15:17
Steven NoCode
Рет қаралды 5 М.
#FlutterFlow Useful Custom Action Technique you should know!
11:59
The Digital Pro's NoCode Academy
Рет қаралды 3,4 М.
This New Cursor + Replit Template SLAPS!
24:09
Riley Brown
Рет қаралды 6 М.
Custom Functions | FlutterFlow University
7:08
FlutterFlow
Рет қаралды 16 М.
Bike vs Super Bike Fast Challenge
00:30
Russo
Рет қаралды 22 МЛН