Trying to create a cron job similar to the check for expired ads - doesn't add it
I'm trying to create my own cron job - similar to the cp_ad_expired_check. I've copied all the code for that - for registering the cron job. But how does it initially register it the first time? I can't get it to show up in the list of cron jobs like the cp_ad_expired_check shows in the list.
I want a cron job to run weekly, so I'm trying to create my own. Any help would be appreciated on what I'm missing to get this to initiate.