Cloud Web Hosting Plan - CRON failed with python script
... / CRON failed with python script
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

CRON failed with python script

Von
ArnaudB79
Erstellungsdatum 2022-01-23 11:25:59 (edited on 2024-09-04 14:23:47) in Cloud Web Hosting Plan

Hi,
I created a Django Website in Web Cloud, and I would like to create a cron job to automatically execute quick task each hour.
I created a python file which only do a print, and save it to path : ./www/exploration/migrator.py

Then I created a cron job and specify the path with langage "Other", and set occurence every hour

After 10 run, I received a mail from OVH which tell me that all my tasks failed. In the OVH log I had the following message: "Your job could not be initiated for an unknown reason. Please contact customer support for more information."

I don't understand what is wrong.

Please could you help me?

Best regards