Cron jobs

11 views
Skip to first unread message

taruna.dc

unread,
Sep 19, 2013, 1:21:53 PM9/19/13
to xamp...@googlegroups.com

Hello,
Can anyone tell me how do I use cron job.
Basically I want to send the mails on specific date.

sent from samsung galaxy s3

Ashish Choudhary

unread,
Sep 19, 2013, 1:44:49 PM9/19/13
to xamp...@googlegroups.com
Hello Taruna,
When you login to your server cpanel(linux) you can set the command as below

/usr/bin/php /path/to/your/php/script.php

You need to write the mail code in script.php

If You have windows server, user task scheduler.

Thanks


--
Ask New Question from : https://groups.google.com/forum/?fromgroups#!newtopic/xamppdev
 
Create filter of mails from this group http://www.wikihow.com/Create-a-Filter-in-Gmail
---
You received this message because you are subscribed to the Google Groups "PHP Developers' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xamppdev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xamppdev/CA%2BMS37q7fHhTAB3w6uepWLLbXMh%2BGiukch-ESYWhwkyiXBYC8A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Siva prabu

unread,
Sep 20, 2013, 4:48:14 AM9/20/13
to xamp...@googlegroups.com

taruna.dc

unread,
Sep 20, 2013, 1:12:10 PM9/20/13
to xamp...@googlegroups.com
Thanx for the reply..

Siva is it really safe to run cron jobs like u mentioned in your mail?

Kind Regards,

Taruna Sharma


Reply all
Reply to author
Forward
0 new messages