Skip to content

Reset the total_time every day and store the data in a databas. #86

@Meysam-Arshadi

Description

@Meysam-Arshadi

To achieve resetting the total_time daily and storing the data in a database, you can follow these steps:

  • Implement a server-side script to reset the total_time field for all tasks daily.
  • Use a scheduler or cron job to execute the script daily at a specific time.
  • Modify the database schema to include a field for storing the total_time for each task.
  • Update the server-side code to calculate and update the total_time field for each task based on the elapsed time.
  • Ensure that the client-side code retrieves and displays the total_time for each task from the database.

Metadata

Metadata

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions