GithubHelp home page GithubHelp logo

cronjobs's Introduction

Cron tasks manager

About

Manage all your automated web tasks from a single interface.

Contributing

PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.

Requirements

Contributors must follow the following rules:

  • Make your Pull Request on the "dev" branch, NOT the "master" branch.
  • Do not update the module's version number.
  • Follow the coding standards.

Process in details

Contributors wishing to edit a module's files should follow the following process:

  1. Create your GitHub account, if you do not have one already.
  2. Fork the cronjobs project to your GitHub account.
  3. Clone your fork to your local machine in the /modules directory of your PrestaShop installation.
  4. Create a branch in your local clone of the module for your changes.
  5. Change the files in your branch. Be sure to follow the coding standards!
  6. Push your changed branch to your fork in your GitHub account.
  7. Create a pull request for your changes on the 'dev' branch of the module's project. Be sure to follow the commit message norm in your pull request. If you need help to make a pull request, read the Github help page about creating pull requests.
  8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.

That's it: you have contributed to this open-source project! Congratulations!

cronjobs's People

Contributors

alexeven avatar cduris avatar erseco avatar gaillafr avatar galeelox avatar groussac avatar jnadaud avatar julienbourdeau avatar maximebiloe avatar nakahiru avatar prestaedit avatar quetzacoalt91 avatar rgaillard avatar tchauviere avatar thierrymarianne avatar xborderie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cronjobs's Issues

Abnormal HTTP traffic from 91.240.109.1 address for AdminCronJobs controller

Hi!

The 91.240.109.1 IP address, appears many times in the access log of the web server that runs an e-commerce web site based on Prestashop.

It seems the 91.240.109.1 is related to the organization that develops the Prestashop software and is located somewhere in France. Several times per hour the access log register entries like these:

91.240.109.1 - - [08/Dec/2014:15:14:11 +0100] "GET /usr/local/admin/index.php?controller=AdminCronJobs&token=9dd34a8852149c560099c0b7710d85b1 HTTP/1.0" 404 14799 "-" "-"
91.240.109.1 - - [08/Dec/2014:15:16:11 +0100] "GET /admin/index.php?controller=AdminCronJobs&token=1b4ecd4c090670f1a827966bb38c7800 HTTP/1.0" 404 14799 "-" "-"
91.240.109.1 - - [08/Dec/2014:15:18:25 +0100] "GET /admin/index.php?controller=AdminCronJobs&token=11a0bc9e25358a0234b432aad3b4be69 HTTP/1.0" 404 14799 "-" "-"
91.240.109.1 - - [08/Dec/2014:15:18:32 +0100] "GET /admin/index.php?controller=AdminCronJobs&token=33ce5b2fbe7eaf48a1c06cefcdc38a38 HTTP/1.0" 404 14799 "-" "-"
91.240.109.1 - - [08/Dec/2014:15:18:36 +0100] "GET /usr/local/admin/index.php?controller=AdminCronJobs&token=96a8bca58f94c8a411decfdadc70c93b HTTP/1.0" 404 14799 "-" "-"

The requested resources do not exist on the server (404 HTTP response code is returned), so I wonder what the Prestashop organization is trying to access, and for what purpose, in the backend of our web site.

Is it some kind of bot inside the Prestashop network in France?

I've also noticed some times that access is successful (200 HTTP response code is returned) like the following sample evidences:

91.240.109.1 - - [08/Dec/2014:16:11:14 +0100] "GET /admin9317/index.php?controller=AdminCronJobs&token=a2b003be8a99cf5af55df024e23670af HTTP/1.0" 200 19 "-" "-"

This behaviour has happened from several days ago, and the site is using Prestashop version 1.6.0.9.

Is it related to the CronJobs module? If so, why, for what and how to stop it? If not, who should I report this issue to?

Thanks!

Cron tasks not running

Hi,

I'm using Presta 1.5.6 with cronjobs 1.2.4
I've created several tasks and not a single one is working.
The tasks status always show "last execution" as "never" and I have nothing in my cron logs.
Do you have any solution?
Thx

webcron not working when shop is in Maintenance mode

When Maintenance mode is activated, the callback url is returning the Maintenance page.
Ether this should be bypassed or it should show in the ADMIN that cronjobs is deactivated while Maintenance is active

Module define _PS_ADMIN_DIR_ in Front Office

It will be defined without the good admin dir (it's okay for that) but will define this in Front Office and a best practices to know if we're or not in admin is to test this define.

Cronjobs issue

Hello,

I am using Prestashop 1.6.0.14 with cronjobs 1.2.6
I have created a single task(a sample one, having target link set to php file: http://127.0.0.1/projects/prestashop/admin749nyciey/Test.php) configured to run every hour and it is not working.
The "last execution" task's status is always "never".
I had checked out logs and I didn't found anything related to cronjob.

Do you have any solution?
Thank you

Does the "advanced" mode even do something ?

In controller/admin/AdminCronJobsController.php, the postProcess function is written like this:

public function postProcess()
{
    $this->module->sendCallback();

    if (Configuration::get('CRONJOBS_MODE') != 'webservice')
        die; // What ?

    ob_start();

    $this->runModulesCrons();
    $this->runTasksCrons();

    ob_end_clean();
}

So basically, when this cron task is called:

0 * * * * curl "http://localhost/store/admin1234/index.php?controller=AdminCronJobs&token=f36777cc1f184746575be6b5d14c621e"

When the mode is not "webservice" (ergo "basic"), it basically just prints cronjobs_prestashop and dies?

I couldn't get my tasks to run locally, then I commented this die statement and it seems to work great since then. Is this "advanced" mode simply disabled without letting the user know?

Probleme cron tasks manager

Hello,

I set my target link to run every day but in the column "last run" it says "never". It seems that cron tasks manager is not working. I use the version 1.7.6.0 ok Prestashop.

Thanks for your help.

Sylvain.

Notice on disable module

If a module is hooked to actionCronJob , disabled and never used, we get a notice during addNewModulesTasks step.

Script try to delete a cron where id_cron is doesn't exist

Evolve manage minute option

When we must declare a cron it's usefull to set minute step also.
On some case we don't want run all cron at same time.

Error fresh install

Hi,
I have a mistake when I create the first task. I uninstalled the module and reinstalled but I always get the same error.

Notice on line 74 in file /ROOT/src/Adapter/Routing/LegacyHelperLinkBuilder.php
[8] Undefined index: id_cronjobs

Can you help me?

Changed addon domain

Hi,
The module not lets giving a link to the old domain after implementing a new addondomain.
My cron files are on the same place, olddomain.com/../../module/../cron.php.
My shop changed to newdomain.com, some modules are now generating newdomain.com/../module/cron.php links.

How can work around it?

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.