İptal Edildi

Write WordPress cron Script to loop over custom post type and update post content after running python script

I need a PHP cron script written for a WordPress multisite. The script will be a MU Plugin so basically a PHP script which I put inside the mu-plugins folder. The cron job must be a real cron job which runs at 00:00 it should not be normal WP cron because that does not run on a regular schedule

The script will loop over all sites in the network, and for each site it will query all custom post types like WP_Query(array('post_type' => 'my_custom_post_type'....

Now with each of these custom post types you will query a custom field to get a URL from it's value get_post_meta(post_id, 'field', true); .....

With the URL you then pass it to a python script which runs by command line. So with PHP you may use shell_exec. The python script takes two argument

python --url=[url removed, login to view] --site-id=31

The site ID is the post ID you are looping over in the PHP script. So from PHP you will pass the URL and post ID to python.

The python script returns an image name [url removed, login to view]

Using this output you will then get the post content which is a JSON string like below. Convert to array, and add today's information so you will add the date, the image file name and URL.

I will provide the python script to the winning bidder.

[{

"date": 20170806,

"screenshot": "[url removed, login to view]",

"url": "[url removed, login to view]"

},

{

"date": 20170805,

"screenshot": "[url removed, login to view]",

"url": "[url removed, login to view]"

}],

Beceriler: PHP, WordPress

Daha fazlasını görün: wordpress index custom type, cron script update database, custom wordpress login script, custom wordpress import script, update wordpress posts script, wordpress review script custom, script import custom wordpress, script loop minutes, script loop flash html, script para custom ragnarok

İşveren Hakkında:
( 7 değerlendirme ) Mount Sinai, United States

Proje NO: #14883755

44 freelancer bu iş için ortalamada 174$ teklif veriyor

graphicaa

The cron to be run on the server separate from wpcron. The multisite plugin to be developed for the cronjob functionality. The script need to work as below: a. Loop over all the sites in the network. b. To Daha fazlası

in 6 gün içinde163$ USD
(546 Değerlendirme)
8.7
rajeshsonisl

Hello! With 98% to 99% completion rate, 1000+ successfully completed projects, and a 4.99 reputation (maximum possible, 5.0) (can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... Daha fazlası

1 gün içinde 155$ USD
(825 Değerlendirme)
8.3
webqueue

Hi, We have expertise in developing scrapping scripts and setup cron job. I would like to discuss in details. Relevant Skills and Experience OUR DEVELOPED RECENT WORDPRSS SITE LINKS: http://bimfamilycreate.com/ ht Daha fazlası

in 3 gün içinde166$ USD
(402 Değerlendirme)
8.5
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks Relevant Skills and Experience PHP, WordP Daha fazlası

in 7 gün içinde195$ USD
(369 Değerlendirme)
8.1
wpoppo

Hello, Thanks for giving me the opportunity to discuss your project. I am a senior WordPress developer with an experience of 8+ years. I am highly proficient at building and customizing themes & plugins and als Daha fazlası

in 5 gün içinde250$ USD
(134 Değerlendirme)
7.7
bestworkontime9

Hi there..!! I have gone through your requirement with the help of attached brief and as I got you are looking for a PHP Script written for Cron Job running that compatible with Python Script as explained in the b Daha fazlası

in 3 gün içinde151$ USD
(199 Değerlendirme)
7.4
in 3 gün içinde155$ USD
(64 Değerlendirme)
7.4
mascotindia123

Hey Friend, Myself having has 10 + years experience of web site development. Expert in Custom programming in php / Mysql / Jquery / Wordpress/ Joomla / OSC/ Magento /OpenCart / Android / Mobile development / iPho Daha fazlası

in 5 gün içinde220$ USD
(209 Değerlendirme)
7.2
in 3 gün içinde155$ USD
(3656 Değerlendirme)
6.9
evadevlopers

Hi There, Ready To Start now. I have 5+ years experience in PHP as well as Wordpress, OpenCart, codeigniter , OsCommerce….and also in responsive CSS3, bootstrap, html5 . etc Relevant Skills and Experience You can che Daha fazlası

in 3 gün içinde200$ USD
(206 Değerlendirme)
6.7
tranngocanh1702

I am able to write a cron job that can run loop and update the WordPress content post. I am ready to start now. Relevant Skills and Experience I am Anna with more than 5 years experience in PHP, Laravel framework, Sli Daha fazlası

in 3 gün içinde200$ USD
(62 Değerlendirme)
6.7
NayaPakistan

A proposal has not yet been provided

in 3 gün içinde198$ USD
(205 Değerlendirme)
6.3
msolution

morning, :) let me help u with this, i will create a mu plugin for you which can do the above, i lost u at the end, what do we do with the array, is it saved somewhere? or ... Relevant Skills and Experience Please ch Daha fazlası

1 gün içinde 200$ USD
(73 Değerlendirme)
6.0
durgesh8527

HelIo Employer, I gone through the project detail, I understood the requirement. I have some questions now lest discuss on chat Relevant Skills and Experience I have 8 years experience in Web Design & Development. Ded Daha fazlası

in 5 gün içinde150$ USD
(68 Değerlendirme)
6.4
in 7 gün içinde150$ USD
(68 Değerlendirme)
5.7
libxml1

Hi, I'm available for this work. I understood the requirements. Please, refer to my reviews and message me if you are interested. Relevant Skills and Experience Full stack web developer Proposed Milestones $150 USD - Daha fazlası

1 gün içinde 150$ USD
(41 Değerlendirme)
5.6
YamenS

Hello, Get MU Plugin which run cron at specific time of your choice. Portfolio: https://goo.gl/6XW2CR Relevant Skills and Experience - WordPress, WooCommerce, membership websites, subscriptions website. - Integrate Daha fazlası

in 3 gün içinde155$ USD
(53 Değerlendirme)
5.5
rajneeshsaini

Hello Sir/Madam, In my career span of 7 year I am consistently designing eye catchy websites based on client business needs. When designing website from scratch I starts with homepage mockup. After design is approv Daha fazlası

in 3 gün içinde250$ USD
(29 Değerlendirme)
5.6
wpmonsters

Hello, we are WordPress Monsters and we're ready to help you! We're trully comfortable working with WordPress website development. We use WP to build thoroughly thought projects either from scratch or by implementing c Daha fazlası

in 3 gün içinde350$ USD
(16 Değerlendirme)
5.2
in 3 gün içinde200$ USD
(50 Değerlendirme)
5.1