# Step 1: Open and edit the crontab
crontab -e

# Step 2: When prompted for editor, type 1 and press Enter
1

# Step 3: Scroll to the very bottom of the file (using arrow keys)
# Delete any old forwarder lines if they exist (Ctrl + K to delete line)

# Step 4: Paste these two lines exactly at the bottom
* * * * * cd /home/alqanibrokers.com/public_html/d3v && php forwarder.php >/dev/null 2>&1
* * * * * sleep 30; cd /home/alqanibrokers.com/public_html/d3v && php forwarder.php >/dev/null 2>&1

# Step 5: Save and exit nano
# Press Ctrl + O (letter O)
# Press Enter to confirm the filename
# Press Ctrl + X to exit

# You will see: "crontab: installing new crontab"
# That's it! Cron is now active and running every 30 seconds automatically.