Cron task with custom code

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [x] Documentation issue or request

Current behavior

Hello, I just want to ask about usage.
If I want to write my own code or script where should I do it? Should I add extension?

I need script that can do get request -> save data -> some processing -> post request. That fires for example every hour. In strapi i remember there were cron tasks where I can code it.

Thank for any help.

Expected behavior

Minimal reproduction of the problem

Environment

App Name:

  • [x] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [7.0.3]

Browser:

  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

Hi,
Squidex does not support cron tasks. You need to build a custom service which cron support or a script that you trigger by cronjobs in Linux.

I don’t know your techstack, so I cannot give you a very concrete recommendation.

Thank you for your answer. Yes I decided to use cron task inside linux with custom script.

1 Like