If PHP exec() or shellexec() are enabled, you could run these commands through PHP.
You can also create a cronjob (planned task), deactivate automatic execution and manually run the task to run a command line command without opening an SSH connection.