Using a Cron Job to dynamically populate a field ONCE, and then making the field blank the next time someone visits page

I’m gonna attempt an answer here:

  1. In your GF code, you’re going to need to have a snippet that checks the hidden field in the db first. IF value is blank.. THEN they are not a winner = Proceed. If value is ‘winner’.. then update value to blank… Proceed with ‘winner’ functionality.

  2. In your cron, you are going to update the value to ‘winner’ once a day, I guess. If someone submits the form.. the value will be updated to blank (per step 1)… and they will be the winner for the day.. until the value is updated to ‘winner’ again by the cron.

Right??