Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
dancingPaul (Guest)
dancingPaul (Guest)
I have a cron script that runs once a day. That script checks to see if any email notifications need to be sent to users for that day. since it's a large number of emails that will need to be sent, I'll need another cron job to send a small batch of emails every minute instead of all at once.
 
So what I think I need to do is have the daily cron create another cron job that runs until all of the emails are sent, then deletes itself. is there any way to create and delete cron jobs with a script, as opposed to doing it through cpanel? perhaps there's a file I can edit with a script that has the command lines that run?
 
or if anybody has a better solution, let me know.