Open houchanglei opened 3 months ago
可以把54行改为 restore_command = f"sshpass -p '{password}' ssh -o StrictHostKeyChecking=no -p {port} {username}@{host} 'source ~/.profile; {cron_command}'"
可以把54行改为 restore_command = f"sshpass -p '{password}' ssh -o StrictHostKeyChecking=no -p {port} {username}@{host} 'source ~/.profile; {cron_command}'"