Skip to content

This is a cron job designed to fetch a custom URL specified through the .env file within the Render cloud service at specific intervals.

Notifications You must be signed in to change notification settings

nil2022/cron_job

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cron Job for Fetching Custom URL

This repository hosts a cron job script tailored to retrieve a custom URL by utilizing environment variables passed through the Render cloud service. The script is configured to run at specified intervals for fetching the designated URL.

Usage

To utilize this script:

  1. Ensure access to the Render cloud service.
  2. Set up environment variables within the .env file:
    URLTOFETCH=YOUR_CUSTOM_URL_HERE
    
  3. Adjust the script to accommodate the desired cron job intervals.
  4. Execute the script or integrate it into your workflow.

Setup

  1. Clone this repository:
    git clone https://github.com/your-username/your-repo.git
  2. Personalize the .env file with your specific URL.
  3. Modify the script's cron job intervals as required.
    CRON_SCHEDULE=YOUR_CUSTOM_CRON_SCHEDULE
    

Contributions

Contributions are appreciated! If you encounter issues or have suggestions for enhancements, feel free to open an issue or submit a pull request.

About

This is a cron job designed to fetch a custom URL specified through the .env file within the Render cloud service at specific intervals.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published