Search code examples
phpcronjobscron-task

CronJob on FTP Server on PHP File


I have access on ftp server - host / user / password.

I want to run a php file from that server - specific time (every 3 days for example)

How can i make a cron job if i am on windows, and have access on ftp server? Only want to run an existing php file from that ftp server every 3 days.

Thank you..


Solution

  • You can't run it through FTP. You'll need SSH access and permissions to run crontab (as mentioned by @Elias Van Ootegem)