How to make a webservice be called automatically with php?

Asked

Viewed 24 times

0

Hello, I’m a beginner in php and I have a system which saves some data in the database, such as messages and images. This system has a webservice also in php that takes all this data and sends it zipped (text in .pdf and image in .jpg) to a user.

I wonder how I can call this my webservice automatically to each time period x.

In my case, the system must send every 15 days all the files that have not yet been sent to that user. I mean, I just need to figure out an automatic way to call this webservice I created.

Is there a php function that makes this type of call?

  • Create a script which does what it needs and runs it through the Crons (or scheduled task)

  • Thanks @Andersoncarloswoss, that’s what I was looking for.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.