Jump to content

Miss Token for URL in cron job in module


jvicente1971

Recommended Posts

Hello

I have a module to import products and it can be auto-executed with a cron.

The problem is tha this cron needs a token 

The cron is:

curl "https://www.mysite.com/modules/ba_importer/autoimport.php?batoken=cac36caf8b207d7ebd29a06d66fe9e48" -k 

I had to generate my htaccess file

Since that this cron dind't work no longer.

How can I get the correct token?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...