On 6 May 2011 17:52, Helloise Smit <helloi...@miranetworks.net> wrote:
> yikes im not sure now: > > 1. must i keep my DB-Query-Script.php file? > Yes, keep your DB-Query-Script.php and you can dump the /etc/cron.d/RC-Cron.txt. > 2. i create ANOTHER file rainbowcode.sh which will contain the lines: > #!/bin/sh > /usr/bin/php /home/rainbowcode/DB-Query-Script.php rainbowcode > yesterday mymailaddress > Correct > 3. THEN i do crontab -e and add the lines: > MAILTO=mymailaddress > 5 8 * * * /home/rainbowcode/rainbowcode.sh > Yes, keep your DB-Query-Script.php and you can dump the /etc/cron.d/RC-Cron.txt. > > NOW: the above file what do i save it as please???? > After you enter those lines in crontab editor, save it using vi save command: hit Esc, then type :wq then enter. You may want to change '5 8 * * *' to the next available minute, e.g.: 0 18 * * * (in my timezone I'll reach 6pm in the next minute) to see if it really works instead of waiting for another day, then you can change it back to '5 8 * * *' if it does. ;-) > > > thank you > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en