Systers, an AnitaB.org community

Create a cron job to remove unverified users after a period of time (Backend)

Introduction

Users that have unverified emails should be removed by a cron job after a period of time.

Prerequisite:

  • Have a GitHub account
  • Know how to use git
  • Setup and run the project on your local development environment

Steps:

  • Create a copy of the project into your account GitHub by forking systers/mentorship-backend project.
  • Clone the project onto your local development environment
  • [Optional] Create a branch to make your changes
  • Create a cron job (background scheduler) to remove users with the email not verified. Feel free to come up with a period of time you find convenient, this can be discussed after the contest.
    • Hint: There is at least one background scheduler already created here
  • Commit your change through the interface using our Commit message Style Guide.
  • Submit a Pull Request, targeting gci-dev branch, following the template provided in the description.

Resources:

  • If you need help or get lost, post a response to our questions topic in our #gci stream.
  • Pull request template at this link.
  • Commit message Style Guide can be found here.
  • How to fork, clone and setup remotes the project into your account wiki page can be found here.
  • Issue on GitHub can be found here.

Work Submission:

Submit a link to Pull Request (PR) created with the change and with a link to the existing issue #115.

Task tags

  • python
  • flask
  • backend

Students who completed this task

_daksha_, BartekPacia, HardikJH

Task type

  • code Code
close

2019