Code Monkey home page Code Monkey logo

ajax-executer's Introduction

Execute script in time intervals

This script allows you to execute a remote script in time intervals.

This is useful if you want to run another script in batches when the server can´t process everything at once.

For example, you have a PHP script that uploads a picture to 50 posts in your blog. http://sample.com/add-pictures.php?page=1

You have 500 posts so you want to run the PHP script 10 times, one after the other, changing the ?page=N query string to paginate the posts.

You can do this with Ajax Executer.

Getting Started

  • Open the index.html file in your browser. You must open the file from a server, it wont work if you open with the file:// protocol
  • Enter the script URL that you want to execute. The iteration number will be appended to the URL, so the URL must have a query string with no value. i.e. http://script.com/?page=
  • Select the time interval in miliseconds.
  • Enter the "end number" to indicate the maximum number of times to run the script.
  • Enter the "end string" if the external script returns a text to indicate completion.
  • Enter the "error string" if the external script returns a text to indicate errors.

Authors

Jose Vega - VegaCorp

Some of my projects:

  • WP Sheet Editor. Edit WooCommerce products, WordPress Posts, Pages, and Custom Post Types using a Spreadsheet. Free WordPress plugin.

ajax-executer's People

Contributors

josevega avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.