Last active
June 2, 2018 05:35
-
-
Save ehsanhoushmand/329c657d307c72786b08f97d0c898c92 to your computer and use it in GitHub Desktop.
Fanap payment kerio login script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --request POST 'http://10.21.30.1:8002/index.php?zone=developmetzonecp&redirurl=http%3A%2F%2Flogin.etick.ir%3A8002%2F' --data "accept=Continue&auth_pass=ehsan&auth_user=ehsan&redirurl=http://10.21.30.1:8002/index.php?zone=developmetzonecp&zone=developmetzonecp" --verbose |
crontab -e
select editor and paste "*/10 * * * * /etc/cron.hourly/fanap_login.sh"
this command run fanap_login.sh script every 10 minutes.
ps: get the execute permission to the script file
sudo chmod +x /etc/cron.hourly/fanap_login.sh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
replace auth_user and auth_pass with your username and password