Skip to content

Instantly share code, notes, and snippets.

@Kishimoto96
Created June 10, 2023 09:50
Show Gist options
  • Save Kishimoto96/b29bbfee92be5f189d88b67cfe338276 to your computer and use it in GitHub Desktop.
Save Kishimoto96/b29bbfee92be5f189d88b67cfe338276 to your computer and use it in GitHub Desktop.

Discussion about Cron and Websockets:

  1. What is a cron job?
  2. Is it possible to specify a time zone when scheduling a task with cron?
  3. What happens if a cron job takes longer than expected to complete its execution? Will another instance start running while the first one is still executing?
  4. Can you explain how to set up a new cron job to run multiple times a day?
  5. Can you provide an example of scheduling a CRON job using Node.js?
  6. What is a websocket?
  7. What is the advantage of using WebSockets over traditional HTTP requests?
  8. What is Socket.IO?
  9. What do we mean by websocket handshake?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment