I'm just gonna point out a few problems with what you're trying to do:
if it runs every 24h, people will create accounts and characters just to "farm" the reward. then again if its so insignificant then there's no point having it at all.
you're better off sending a reward to people who spent some time in game. could be once a day, but make it so that they stay 10 mins in game or so.
what I'd probably do is edit the user_character table and add 2 int columns which will be default 0. then add a job that will increment one of the columns for every character that is logged in every 60 seconds (but only if the 2nd column is 0), and also modify SP_CHAR_CHECK_IN to set the column to 0.
then another job which will distribute the reward to everyone who has reached 10 (and 2nd column == 0) in that column and set the 2nd column to 1.
I'm not gonna give you the code for it. SQL is piss easy and with minimal effort you will do it. If you have any SQL experience you'll do it in 5 mins, otherwise I'd guess about 2 hours.
btw, I'm not a SQL expert, this is what works for me, I dont know if there are any more efficient methods.