Learn Catalyst Series : #1 Schedule your repetitive tasks

Learn Catalyst Series : #1 Schedule your repetitive tasks

Hello! With our new Learn Catalyst series, we want to get you started with the easiest of all in the Catalyst environment - Cron.

Let us take a look at the use-case we have pitched in for Cron:

Ramon is a budding designer.

He wants to make it big, quickly. He works under the supervision of Herdes.

Herdes has asked Ramon to make one image a day and tweet it and get feedback on the image. This way Herdes figures that Ramon will get market-feedback and not just his and will eventually help Ramon become a better professional.

Making images is something that Ramon does well but he is not that well-versed about Twitter and he finds it difficult to remember to post his images everyday. So he approached Lodha. Lodha is a software engineer who is working on Catalyst by Zoho!

Lodha made a system with Catalyst in which all Ramon needs to do is to place the image he has made for the day in a specific folder. That is it.

The secret lies in the fact that Lodha used the Cron feature in Catalyst which looks for the image file in the directory, then automatically connects to Ramon's Twitter account and posts the image with a tweet.

Now Ramon is in a publishing spree of sorts and he is getting tons of feedbacks.. sure he does not like all of them but hey, the world gets to see his progress and Herdes is also happy for his student.

Catalyst - Making the world a happier place, regularly.

The code for the above example can be found here: ​https://github.com/catalystbyzoho/learncatalyst-crontwitterbot-node

Write the code for Cron function and Configure the Cron from the ​Catalyst Console​ as below :

And the use case is complete!

We welcome all queries from you here about any doubts that you may have. Also, you can post your queries here or you can write to us at ​support@zohocatalyst.com.

Await for the next post in the Learn Catalyst Series.

- Team Catalyst

#learncatalyst​ ​#serverless​ ​#catalystbyzoho


    • Announcements

    • Important Announcements in Support for Catalyst Features

      Hello Catalyst Users, This announcement is to bring to your notice some of the recent updates in our support for various Catalyst components, to ensure that your existing Catalyst applications function properly. You can continue to build robust applications
    • Introducing Catalyst 2.0, the simplest cloud-based pro-code development platform.

      Dear Catalyst Community, We are beyond thrilled to present you Catalyst 2.0—the new-age, pro-code development platform that redefines the way you build, deploy, and scale apps. Catalyst 2.0 is not a mere upgrade, but a significant leap into the future
    • Set budgets to optionally disable your Catalyst production environment

      Hello all,    We are pleased to inform you that you can now configure the automatic disabling of a project's production environment upon reaching a specified budget's threshold. Budget alerts in Catalyst facilitate setting usage limits in amounts or Catalyst
    • #CatalystServerless Hackathon 2022

      We are pleased to announce #CatalystServerless Hackathon with prizes worth $5000 up for grabs. Create a working prototype aimed to solve a critical business issue using Catalyst and stand a chance to win exciting prizes. The Hackathon will happen in 3
    • Share your interest to participate in the #CatalystServerless Blogathon

      Hi, we are working on announcing the next edition of the #CatalystServerless Blogathon. Please fill up this form to stay posted on all updates related to the Blogathon. https://zfrmz.com/JN9ChxPU9JQpPgB1vRp8

      Catalyst Community