Find Jobs
Hire Freelancers

PHP date calculation and simple MySQL query

€30-250 EUR

Selesai
Dibuat lebih dari 10 tahun yang lalu

€30-250 EUR

Dibayar ketika dikirim
I have a MySQL table with about 25k users and growing. A part of those users pay a yearly fee to use our service. During the first few months of 2013 we used Paypal but later switched to a different creditcard company to accept payments. So we have 2 extra fields in the userDB: PayPalPaidDate and CreditCardPaidDate. PayPalPaidDate had the date and time in this format: 2013-01-05T06:07:55Z and sometimes also: 18:37:09 Jan 19, 2013 PST. The PayPal API did that. CreditCardPaidDate has the date and time in this format: 30-05-13 22:41:22 (This is the European standard as in: 30th of May 2013 Both string can be easily converted to Unix timestamps with PHP5 strtotime, I tested that already. So I need a PHP script which can be run as a cronjob every day which grabs all users who have a certain type of account role (6,7 or 8 are paid accounts) from the MySQL database and then calculates if the paid date was over a year ago. When a year (or more, some account have already expired) has passed it should clear out the paypal and creditcard paid dates in MySQL and reset the account role to roleID 1. It should then send out an e-mail to that users about this action. (I can supply the HTML and Plain Text for that). The second thing I need is a script (or all in one script, thats up to the programmer) which sees an account is about to expire in 28 days (4 weeks) and sends out an e-mail to that user saying they need to upgrade or their account will be reset to normal as of date xxxxx. It should do this 4 weeks in advance, 1 week in advance and then 1 day in advance. Users should never get more than 3 emails and the fourth being the expiration e-mail discussed above. I need to run this script as a cronjob so it's vital that users do not get bombed with emails everytime the script has run. So the script has to check if If you need more info please contact me!
ID Proyek: 5273421

Tentang proyek

33 proposal
Proyek remot
Aktif 10 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
I am very expirienced developer that can do all this job. I will add new field or create additional table in database to make sure that your users do not get more emails than they should. I will need sample database with some data (it may be fake but with same structure). Thanks for checking my offer!
€100 EUR dalam 3 hari
4,9 (6 ulasan)
2,9
2,9
33 freelancer menawar dengan rata-rata €158 EUR untuk pekerjaan ini
Avatar Pengguna
Hi, Here's my bid to implement the solution for you. Let me know if you have any questions before we proceed.
€257 EUR dalam 3 hari
5,0 (272 ulasan)
8,0
8,0
Avatar Pengguna
Hi, I checked your details and almost understand your requirements. Can you please come to chat with me for discussing more with your requirements. Thanks Inspirad
€242 EUR dalam 5 hari
4,9 (358 ulasan)
7,9
7,9
Avatar Pengguna
i am a skilled mysql and php developer. i can write the cronjob for you to check the expiry dates. i am a skilled mysql and php developer. i can write the cronjob for you to check the expiry dates.
€84 EUR dalam 3 hari
5,0 (416 ulasan)
7,3
7,3
Avatar Pengguna
Easy project for me. FTP and Mysql access required for development and setup. Will be completed in 2-3 days. Lets start. Thanks
€155 EUR dalam 3 hari
5,0 (160 ulasan)
7,1
7,1
Avatar Pengguna
Hi, We are experts in php/mysql. We have done many projects like this. Ready to start now. Thanks. ..
€105 EUR dalam 3 hari
4,9 (226 ulasan)
6,6
6,6
Avatar Pengguna
I have done exactly similar work in past. I can do this for you rightaway and create and setup the cronjob in your Cpanel. Let me know, if you are interested.
€66 EUR dalam 3 hari
5,0 (84 ulasan)
6,0
6,0
Avatar Pengguna
Whats the other payment gateway? stripe? and you must have a soap or json api implemented on website. right? Let me know of your inputs and I can start working on the project right away. Thank You!
€155 EUR dalam 3 hari
4,7 (114 ulasan)
6,1
6,1
Avatar Pengguna
Hi I am a experienced web developer and Customizer. I would like to offer my services for this job. Regards
€155 EUR dalam 2 hari
4,9 (151 ulasan)
6,0
6,0
Avatar Pengguna
Dear there, I read your requirement and found that we can do this job easily. As per description I believe you need following things: 1) Check users which has more than a year of payment (check for specific role 6,7,8) 2) If user has more than a year then reset account type to 1 and make payment date fields empty 3) Send expire account message to those users 4) Check for users who has 28 days remaining in expire account and send them notification email 5) Check for users who has 7 days remaining in expire account and send them notification email 6) Check for users who has 1 day remaining in expire account and send them notification email 7) Check each email sent only once for each user (4 emails every year to each user) Please correct me if I'm wrong. Please awarded project to us and we can start project together. Looking for long term business relationship with you. Kind Regards, Taha MoonRose Infotech
€200 EUR dalam 4 hari
5,0 (36 ulasan)
5,9
5,9
Avatar Pengguna
Hello Sir, I can complete this work in a day. I'm a PHP/MySQL programmer having more than 8 years experience. I would like to have a long term relationship with you. I'll be always available for making any updates your site in future. Thanks Habeeb
€138 EUR dalam 1 hari
5,0 (135 ulasan)
6,1
6,1
Avatar Pengguna
Hello Sir, Let us finalize this task, Kindly share details and let us finalize this task, We have done some custom complex script. Sir, We are waiting for your kind reply. Kind Regards Team Webicent
€147 EUR dalam 3 hari
4,9 (38 ulasan)
6,2
6,2
Avatar Pengguna
Hi My name is Peter and I am designer/developer located in Serbia, and since we are in same time-zone it will be fast communication :) This is easy task and I can start today. Thanks, Peter
€150 EUR dalam 2 hari
5,0 (18 ulasan)
5,6
5,6
Avatar Pengguna
Dear Sir/Madam, I am a 5+ years experienced professional with huge experience in PhP and MySQL. I have written several cron scripts that run almost every minute on the server to perform various things. I am pretty much confident to do this job within 1 day of awarding. The only requirement that I have from you is the content of the emails that need to be sent to the customers. Ready to start now. Request you to provide me with a chance and I can assure you that I won't let your expectations go down. 100% quality work and prompt response guaranteed. Look forward for your response on this and initiate the building of a cordial relationship with you. Thanks, RB.
€111 EUR dalam 1 hari
5,0 (26 ulasan)
5,7
5,7
Avatar Pengguna
PHP / mySQL expert - I can help build the subscription notification cron job script along with the mass email to users, not a problem.
€315 EUR dalam 7 hari
4,7 (33 ulasan)
6,2
6,2
Avatar Pengguna
Hello bentodegier 1- The date convert can be done in a day or two 2- The reminder email might take few days
€154 EUR dalam 10 hari
4,9 (9 ulasan)
5,3
5,3
Avatar Pengguna
Hello. I can easily do this task, but i will start it on January second (i you decide to work with me). I will build the scripts on my server and give you the access to test them. I will need a demo database for that. (i will replace the emails from you database with my emails and emails you require for testing so your real users don't get spammed). I do not requite upfront payments, but i want full payment before i deliver the scripts. I can help you setting them (or it, as i wold like to make it as single script, since the action is simmilar) as cron jobs on your server, and i will fix any bugs that myght appear. I hope you may consider my bid. Best regards, Alex
€144 EUR dalam 3 hari
5,0 (26 ulasan)
5,4
5,4
Avatar Pengguna
hi there i can create this php script so the format date was on the same format for both paypal an CC already? or difference as you describe, or you want this php script reformat first before make a calculation looking for your reply may thanks
€105 EUR dalam 3 hari
4,9 (13 ulasan)
4,4
4,4
Avatar Pengguna
Need to discuss this in detail,please tell me how we can start the discussion on this requirement. for more detail check in Private Message. We have a team of professionals,they have more than 11 year of experience,so we can manage this work and will give you quality solution
€230 EUR dalam 12 hari
2,5 (38 ulasan)
6,8
6,8
Avatar Pengguna
Personally, I'd propose you to consider using shell scripts for running background jobs, or even python. All of these languages can access and work with databases. I work as a system administrator in one of uk leading digital agencies and my daily job is to make all sorts of background scripts in more than 10 languages every day, I'm sure I can help you out here. Let me know if you're interested, thanks.
€155 EUR dalam 3 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
Hey there! :) I'd like to take this job and make you happy. I can provide the things you need and my work is going to prove satisfactory. This all can be done in a simple PHP script. There might be the need for an extra field to store the number of "expire-warnings". I'm looking forward to hear from you! Sincerely, Kevin Skyba
€66 EUR dalam 3 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera NETHERLANDS
Hoofddorp, Netherlands
5,0
1
Anggota sejak Apr 28, 2010

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.