Forum

[SOLVED] How import...
 
Notifications
Retirer tout

[SOLVED] How import with CRON ?

5 Posts
2 Utilisateurs
0 Reactions
1,945 Vu
(@bourle)
Posts: 26
Trusted Member
Début du sujet
 
[#8601]

Hi all,

How can I import activity with the "cron function" ?
I don't know where i can find this information 🙁

Currently : 
When I try a drag and drop my file in the import directory, I have this error :    "Cron error : class 'Activité.csv' is unknown". (in ../import/logs/Activité.log.htm)
In "general log" I have this : 2022-11-13 23:42:17.165 ===== TRACE ===== File Name : D:/HorsSite/PQO/files/importActivité.csv
2022-11-13 23:42:17.166 ===== TRACE ===== Import ERROR : file Activité.csv imported with 1 errors [ Number of 'Activité.csv' imported : 0 ]
2022-11-13 23:42:27.458 ===== TRACE ===== Importation : File type CSV
My configuration : 
- ProjeQtOr v10.1.2
- Windows Serveur 2016
- IIS 10
- PHP 7.4
- MySQL 8.0.31

When I import my activity by the GUI, it's works.
Thx for your help.


 
Posté : 14/11/2022 2:57 am
(@babynus)
Posts: 14952
Membre Admin
 

'Cos your file must be called Activity.csv, not Activité.csv


 
Posté : 14/11/2022 10:52 am
(@bourle)
Posts: 26
Trusted Member
Début du sujet
 

Snif :'(
it doesn't work too...
I also try with an export and rename it but it's also a failure.

I don't know what to do now.


 
Posté : 20/11/2022 12:33 am
(@babynus)
Posts: 14952
Membre Admin
 

What is the error logged ?
NB : in fact the format should be Activity_YYYYMMDDHHMNSS.csv where YYYYMMDDHHMNSS is a timestamp to ensure treatment os files in correct order.
NB : also be sure to delete old file called Activité.csv
 


 
Posté : 20/11/2022 7:20 pm
(@bourle)
Posts: 26
Trusted Member
Début du sujet
 

With timestamp is perfect !
Thank you


 
Posté : 21/11/2022 2:56 pm
Share:
Retour en haut