{"id":18990294,"url":"https://github.com/unix-user/curlsyncmp","last_synced_at":"2025-06-16T20:37:59.556Z","repository":{"id":129000013,"uuid":"330852070","full_name":"Unix-User/CurlSyncMP","owner":"Unix-User","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-17T21:57:05.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T11:15:29.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Unix-User.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-19T03:23:13.000Z","updated_at":"2023-05-01T02:18:10.000Z","dependencies_parsed_at":"2023-03-23T11:48:38.853Z","dependency_job_id":null,"html_url":"https://github.com/Unix-User/CurlSyncMP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Unix-User/CurlSyncMP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unix-User%2FCurlSyncMP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unix-User%2FCurlSyncMP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unix-User%2FCurlSyncMP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unix-User%2FCurlSyncMP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Unix-User","download_url":"https://codeload.github.com/Unix-User/CurlSyncMP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unix-User%2FCurlSyncMP/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260233954,"owners_count":22978900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T17:09:27.539Z","updated_at":"2025-06-16T20:37:59.530Z","avatar_url":"https://github.com/Unix-User.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CurlSyncMP\nEsse é um exemplo simples de um script que pode ser agendado no crontab para recuperar os dados do site via cUrl.\n\nclone o script e renomeie o arquivo 'config-example.php' para 'config.php'\n\u003cpre\u003e\n# cd /var/www/html\n# git clone https://github.com/Unix-User/CurlSyncMP.git\n# mv /var/www/html/config-example.php /var/www/html/config.php\n\u003c/pre\u003e\n\nedite o arquivo 'config.php' com as credenciais do site e do banco de dados do freeradius.\n\nadicione-o em seu crontab, no terminal digite:\n\u003cpre\u003e\n# crontab -e\n\n\n*/10 * * * * /usr/local/bin/php /var/www/html/index.php\n\u003c/pre\u003e\nno exemplo acima o script sera executado a cada 10 minutos.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funix-user%2Fcurlsyncmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funix-user%2Fcurlsyncmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funix-user%2Fcurlsyncmp/lists"}